sql - Convert the multiple rows Select statement result into a single row string result -


I have the following SQL query: I want the results to be combined with a , And I want to do this as a single query.

select LOCATION_CODE from LOCATION where ZIPCODE = '555555';

Location table

  location_id | Location_code | Zipcode -------------------------------------------- 1 | ASDFSFD | 555555 2 OUIXVCX | 555555 3 2 KLJSDF | 555555 14 | 887 CCD | 555555  

The results below require ... ASDFSFD, OUIXVCX, 2KLJSDF, 887CSD

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -