I have a to club the values present in a column of my table , based on the values they have in a different column.
For example
---------------------------------------------
Col1. | Col 2. |
Bokaro Sector 9
Dhanbad. Sector 29
Bokaro Sector 11
Dhanbad Sector 30
Ranchi. Sector 50
I want this to be displayed as
Col1. Col2
---------------------------------------------------------
Bokaro. Sector 9 Sector 11
Dhanbad. Sector 29. Sector 30
Ranchi. Sector 50
How to do this in a SQL query .