mysql in 多个字段的用法
1. 基本用法select * from user where user_id in (600,601,602);2. 多个字段同时使用select * from user where (user_id,type) in ((568,6),(569,6),(600,8));3. 多表同时多个字段使用select * from user where (legal_id,type) not in (s...
原创
2018-05-08 12:23:52 ·
45071 阅读 ·
3 评论