排序 按某个字段进行排序(默认是升序): select name,birth from pet order by birth; 按某个字段进行降序排序: select name,birth from pet order by birth desc; 表中字段的最大值: 求上面这张表的article字段的最大值: select max(article) as max from shop;