mysql sql语句集合

58 阅读1分钟

mysql 两个表字段取差值

select 要显示的字段 from 被减数表 where 被减数 not in (select 减数 from 减数表);

MySQL之CONCAT()的用法

mysql> SELECT CONCAT(’My’, ‘S’, ‘QL’);

输出结果
-> ‘MySQL’

mysql where 不为空

where dgords=1 and voucherurl1 is not NULL