I have a table 'City' which contains rows like these:
ID CityName
1 Chennai
2 Bangalore
3 Delhi
4 Mumbai
I want to get a result like 'Chennai,Bangalore,Delhi,Mumbai' using a select query.
When I search on Google, the answers use the XMLPATH or a temporary variable. Is there any way to do this without using those?