解决mysql报错:Incorrect usage of UNION and ORDER BY

报错如图:

解决(单独加上括号):

 参考:https://blog.csdn.net/lzd30/article/details/89468513

原文地址:https://www.cnblogs.com/xiamaojjie/p/14135140.html