Mysql 删除字段为null的记录

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiaohuya123/article/details/80968060

DELETE from user_foot_data WHERE(foot_left_length is NULL and foot_right_length is NULL);   -----删除

SELECT id  from user_foot_data WHERE(foot_left_length is NULL and foot_right_length is NULL);   ------查询


猜你喜欢

转载自blog.csdn.net/xiaohuya123/article/details/80968060