时间:2021-07-01 10:21:17 帮助过:4人阅读
SELECT * FROM user WHERE nickname LIKE ‘_d%‘;
SELECT * FROM user WHERE nickname IN (‘admin‘);
SELECT * FROM user WHERE nickname NOT IN (‘admin‘);
SELECT * FROM user WHERE id BETWEEN 2 AND 10 ;
SELECT * FROM user WHERE birthday IS NULL ; //birthday 值为null的数据
SELECT * FROM user WHERE birthday IS NOT NULL ; // birthday 值不为null的数据
sql查询
标签:span hda HERE 空值 查找 范围 nic day user