Suppose I have table CityInfo as -
Package IDCity
----------------------
2 Pune
2 solapur
2 Nashik
3 Satara
3 Kolhapur
4 Mumbai
4 Nagpur
I want result table in format ….
Package IDCity
--------------------------
2 Pune,Solapur,Nashik
3 Satara,Kolhapur
4 Mumbai,Nagpur
What is the Optimized query that you can think of??