jagjitsingh
Ten Centuries
Points: 1072
More actions
December 9, 2021 at 3:50 pm
#3962085
Hi
I have 2 tables with Item Code . I want to select distinct itemcode from 2 tables
ItemCode ItemCode
a a
b c
Output should be
a
b
c
Thanks
Phil Parkin
SSC Guru
Points: 247180
December 9, 2021 at 3:53 pm
#3962088
SELECT ItemCode from T1 UNION SELECT ItemCode from T2
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply