01 SELECT 'Individual',
02 LAST_NAME || ', ' || FIRST_NAME
03 FROM CRUISE_CUSTOMERS
04 UNION
05 SELECT CATEGORY,
06 VENDOR_NAME
07 FROM VENDORS
08 ORDER BY 2;
When using ORDER BY with a series of SELECT statements
connected with set operators, you can only use ORDER BY once, at the end
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22327710/viewspace-764166/ ,如需转载,请注明出处,否则将追究法律责任。