摘要: select*from (select*from test1 union all select*from test2 ) //两个查询的数据行数需要对应一致,且名字as 一致。 1、如果直接用如下sql语句是会报错:Incorrect usage of UNION and ORDER BY。 SEL 阅读全文
posted @ 2018-12-17 15:41 帅的很耗cpu 阅读(636) 评论(0) 推荐(0) 编辑