SQL语句的in 和 =,not in 和 !=,not in

后面接子查询的时候:sql not in和in后面接的子查询的结果是一组集合code !=和=后面接的子查询的结果是一个值table not in是说明前面的不包含在后面子查询的集合里class //查询id是1的数据 select * from table_name where id = '1' //查询id是1,2,3点数据 select * from table_name where id
相关文章
相关标签/搜索