标签:用法 使用 语句 select from rom mysq name sel
1.mysql in语句
select * from tb_name where id in (10,12,15,16);
2.mysql not in 语句
select * from tb_name where not id in (21,22,23);
3.mysql in not in 一起使用
select * from tb_name where id in (10,12,15,16) and not id in (21,22,23);
标签:用法 使用 语句 select from rom mysq name sel
原文地址:http://www.cnblogs.com/719907411hl/p/6956467.html