group by分组查询后排序
如:分组查询 SELECT s.name name,COUNT(s.id) value FROM t_setmeal s,t_order o WHERE s.id=o.setmeal_id GROUP BY s.name 1、上面查询出来的...
如:分组查询 SELECT s.name name,COUNT(s.id) value FROM t_setmeal s,t_order o WHERE s.id=o.setmeal_id GROUP BY s.name 1、上面查询出来的...