query reg removing logical dup rows
609826Jun 24 2010 — edited Jun 25 2010Hi Gurus,
Could you please help giving a query with the req as below
I have a table 'tbl'
Col1 Col2
------ -------
A Wt
A Qu
B Cn
B Qu
B Em
C Qu
D Wt
D Qu
D Em
the query result should be
Col1 col2
----- -------
A WtQu
B Cn
B Qu
B Em
C Qu
D WtQU
D Em
i.e whenever i have Wt and Qu values(in col2) for the same Col1 value (here A and D) then the values shuld be concatinated and only one record with this concatinated value should be displayed.
Could you please help.Thanks in advance !
BR
Sridha