9.19mysql的一些简单查询

1.查询学号为1,或者姓名为hualili的记录 select * from stu(表名) where 学号=1 or 姓名=“hualili” 2.查询学号为1,2,3的记录 select * from stu(表名) where 学号 in(1,2,3) 3.查询学号不是1,2,3的记录 select * from stu(表名) where 学号 not in(1,2,3) 4.查询年龄为
相关文章
相关标签/搜索