select * from student where age>19 and age<23 and sex='男'
select * from student where age in (19,22);
select * from student where age>19 and age<23 and sex="男"注:student为表名
select * from student where age between 19 and 22