mysql排序语句 升序 mysql order by默认是升序还是降序?
mysql order by默认是升序还是降序?sql的降序语句是什么?降序select*from KC order by cpbh desc升序select*from KC order by cpb
mysql order by默认是升序还是降序?
sql的降序语句是什么?
降序select*from KC order by cpbh desc升序select*from KC order by cpbh ASC实例:/*查询student表,并按降序排序*/选择name,student ID from studentsInformation order by studid desc/**按什么排序,默认为升序,desc为降序*/*查询student表中前5名学生的姓名和学号,并按升序排列*/选择前5名,studid from students信息顺序按studid/*顺序默认为升序*/