原创 Incorrect usage of UNION and ORDER BY

UNION 和 ORDER BY 一起使用 1.需求分組排序完    再合併 ( select * from ( select a from a1 order by a2 ) as tab