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.
私はこのようなものを探しています:
Table 1: Column-A C-B C-C 1 1 1 2 5 2 4 3 2 Table 2: Column-D C-E 1 3 7 9 6 5 result set: 1 1 2 5 4 3 1 3 7 9 6 5
select columnA, C-b from table1 union all select columnD, C-E from table2
これを試して
select column1,column2 from tablename1 union all select column3,column4 from tablename2