Hi how do i get single column from two columns in postgresql as my column outputs are:
Column 1 Column 2
a a
b
c c
or
column 1 column 2
a a
b
c c
should get output as below
column
a
b
c
Tried concatenating but it joins table as i don't want to join columns
You should probably research SQL a bit, as for your question I believe
unionwithdistinctwill do the jobSee sqlfiddle