mysql常用命令

1.查询

select * from `table` where `id`=1 and `name` in (2,3,4) and `age` in (select `age` from `table2` where 'sex`=1) group by `id` desc limit 10

posted @ 2017-09-15 10:59  三色待雪  阅读(102)  评论(0编辑  收藏  举报