There are 2 tables. In the first we have:
1 2 3 In the second:
ф Ы В А П Р How to get the following sample:
1:ф 2:ы 3:в :А :П :Р There are 2 tables. In the first we have:
1 2 3 In the second:
ф Ы В А П Р How to get the following sample:
1:ф 2:ы 3:в :А :П :Р First, the entries should be numbered in order (you will have to specify a certain order of sequence), and then link them to these line numbers:
select ColumnX, ColumnY from (select ColumnX, row_number() over(order by ColumnX) rn from Table1 ) A full outer join (select ColumnY, row_number() over(order by ColumnY) rn from Table2 ) B on A.rn=B.rn Source: https://ru.stackoverflow.com/questions/577753/
All Articles