一班'),
(0,'Mysql二班'),
(0,'Mysql三班');
insert into studentinfo values
(0,'张三',1,'男',18,'武汉',0),
(0,'小花',...18的人
select * from studentinfo where studentage = 18;
-- 查询年龄不等于18的人
select * from studentinfo...where studentage 18;
-- 查询年龄大于等于20的
select * from studentinfo where studentage >= 18;
--逻辑运算符...-- 查询年龄18到20之间的(包含18和20)
select * from studentinfo where studentage not between 18 and 20;
--...studentname,"id_",studentage) from studentinfo group by studentsex;
--自己写看效果
--对分组进行条件查询
--查询男,女人数,并且平均年龄大于