1. where 与 having的区别
2. between 的用法
3. join的用法
4. as 的用法
5. exists 的用法
select origin_num from pupu_oms.billsource
where exists (select origin_num from pupu_oms.billsource
where origin_num = "71050071124")
含义解析:exists 的意思是用于检查子查询是否至少会返回一行数据,该子查询实际上并不返回任何数据,而是返回值True或False
6. null 的用法
7. 通配符
not like
某个字段同时满足多个条件
8. contact
select concat("'", id, "',")
from table
where condition
可以对搜索结果 加上 ' '
9. 多个条件排序