MySQL 表的约束、数据库设计及多表查询

DQL 查询语句 – 查询所有数据,使用年龄降序排序 select * from student order by age desc; – 查询所有数据,在年龄降序排序的基础上,如果年龄相同再以数学成绩升序排序 select * from student order by age desc, math asc; 五个聚合函数 – 查询年龄大于 20 的总数 select count(*) from
相关文章
相关标签/搜索