Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
SQL
ID Name    Address Acc_Number  BookingNo   Amt
 1 MERY    Kollam  111111111   NULL           1000
 2 Jos Kochi   111111111   c/01           NULL

Desired Output
SQL
ID  Name    Address Acc_Number  BookingNo   Amt
1   MERY    Kollam  111111111   c/01    1000

Please help
Thanks in advance....
Posted
Updated 31-Dec-12 19:14pm
v3

1 solution

refer below links:
Hope it will help you;
Link 1[^]
Link 2[^]
Link 3[^]
 
Share this answer
 
Comments
ebine rose 1-Jan-13 2:42am    
sorry it's not working..give me an idea with example
prashant patil 4987 1-Jan-13 3:36am    
hey ebine from your table data.. there are two rows but different Ids due to this rows merge not possible.
if you have two rows with same id then it is possible.
try with same ID
ebine rose 1-Jan-13 5:11am    
thank you for your response ..
i have two rows with same "Acc_Number" can i merge these two rows
prashant patil 4987 1-Jan-13 5:15am    
ya... just refer above links.. try to do like this links.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900