zoukankan      html  css  js  c++  java
  • mysql 查询语句

    update point set point.boundry=1 from point,b_point where point.point_x_y=b_point.point_x_y;
    select count(*) from point,b_point where point.point_x_y=b_point.point_x_y;


    update point left join b_point on point.point_x_y=b_point.point_x_y set point.boundry=0 where point.point_x_y=b_point.point_x_y;


    选出定点表和总点表的交集
    select * from b_point left join point on point.point_x_y=b_point.point_x_y;

    update point set point.boundry=0 ;

    from (select * from b_point left join point on point.point_x_y=b_point.point_x_y);

    //清空表
    truncate table point;
    truncate table b_point;
    truncate table quad;
    select * from b_point

    select count(distinct sum) from quad

  • 相关阅读:
    android 显示自定义视图对话框
    android为按钮事件进行监听过程
    实验三
    实验二
    实验一
    第五次作业
    第四次作业
    第三次作业
    第二次作业
    第一次作业
  • 原文地址:https://www.cnblogs.com/zhuyaguang/p/4791900.html
Copyright © 2011-2022 走看看