How to bring records in one row?
userP5Oct 5 2006 — edited Oct 9 2006I have output from my query as :
EMP_ID EMP_HOME_TEL_NO EMP_OFFICE_TEL_NO EMP_CELL_NO
12 345
12 4567
12 66767
34 67
34 90
I want this as
EMP_ID EMP_HOME_TEL_NO EMP_OFFICE_TEL_NO EMP_CELL_NO
12 345 4567 66767
34 67 90
due to security constraint of my employer I can not put my query here. But can anyone tell me how to achive this using lag or lead functions or by any other method. Thankx in advance. The quick reply is appreciated.