查询性别女,并且 年龄65的学生记录
select * from stu where gender=‘female‘ and age = "65";
查询学号是S_1001或者名字为liSi的记录。
select * from stu where sid = ‘S_1001‘ or age = "65";
mysql 运算符 或or、并且and
原文:https://www.cnblogs.com/ZhaoBa/p/14701638.html