I've the following in the Table TopTenBrands
:
Brands Cust_ID
------------------------------
Hitachi 16402, 16407
Hitachi 16409, 16428
JVC 19301, 19308
LG 21001, 21007
LG 21001, 21007, 21008
LG 21001, 21008
Panasonic 27909, 27912
Philips 28501, 28518
Philips 28513, 28516
In the above table I've a LG brand which holds three rows
LG 21001, 21007
LG 21001, 21007, 21008
LG 21001, 21008
But in the Output table i want the result as fallows
Brands Cust_ID
------------------------------
Hitachi 16402, 16407
Hitachi 16409, 16428
JVC 19301, 19308
LG 21001, 21007, 21008
Panasonic 27909, 27912
Philips 28501, 28518
Philips 28513, 28516
I want to delete the duplicate and retain the unique ID's and I don't want ID's to group by Brand.
How can I do it?