可以经常看看 mysql的refman,写的很棒 sql基础操作 查看表结构 show create table desc table show full columns from test1; like语句 1. where id > 1 and name != 'maotai' order by id desc 2. where name like '%sre%' # %任意长度 _任意单个字符,如 '_a_' //三位且中间字母是a的 3. where id not in (11,22,3…