带 AND 的多条件查询
1,SELECT 字段 1,字段 2...FROM 表名 WHERE 条件表达式 1 AND 条件表达式 2 [...AND 条件表达式 n]
eg:查询所在年级为一年级,且年龄是23岁的学生信息
select * from t_student where gradeName='一年级' and age=23;
带 AND 的多条件查询
1,SELECT 字段 1,字段 2...FROM 表名 WHERE 条件表达式 1 AND 条件表达式 2 [...AND 条件表达式 n]
eg:查询所在年级为一年级,且年龄是23岁的学生信息
select * from t_student where gradeName='一年级' and age=23;