Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我有两个返回的选择查询 - 首先:
A | B ------------------ 1 | 2
第二:
A | B ------------------ 3 | 4
我想合并它们,所以我得到
A | B ------------------ 1 | 2 3 | 4
我怎样才能用 MySQL 做到这一点?
select a, b from table1 union all select a, b from table2