HI,
I have a phoneDetail Table of my customers
CustomerIDRowPhone Type DefaultFlgContactPersonContactNumber
1 1CompanyPhone1 Richard 1876-926-04545
1 2Home Phone0 Richard 1876 946 04789
1 3Mobile 0 Richard 495 6764/882222
1 4Fax 0 Richard 1876-929-1885
1 5Fax 0 Richard 1876-882-555
1 6Fax 0 Richard 1876-960 666
I need output:
CustomerIDContactPersonCompanyPhone Home Phone Mobile Fax DefaultFlg
1 Richard 1876-926-0905 1876 946 0444495 6764/88274711876-929-1485 1
1 Richard NULL NULL NULL 1876-882-7471 0
1 Richard NULL NULL NULL 1876-960 3882 0
Thanks in Advance
Regards,
NA