table1 table2
col1 date col1 date
a d1 e d4
b d2 f d5
c d3 a d6
I want a new table which have 4
entries order by date
but if any entries of column 1 replicate it remove this duplication also.
suppose if my date order is d1>d6>d2>d3>d5>d4
then result should be:
col1 date
a d1
b d2
c d3
e d5
And I also want to know which data is coming from tabl1 or table2.