How to combine multiple rows into one row:
Example:
ID   NAME    NUMBER
24   infill  20
25   test1   10
26   test2   30
27   test5   35
28   test3   40
SELECT 
      name,
      number 
FROM table1 WHERE table1.id IN (24,26,28)
They will have result as:
NAME    NUMBER
infill  20
test2   30
test3   40
How to modify SQL statement above: and I have one column name as I really want.
Service
infill 20,test2 30, test3 40
I did:
select name + " " + number as Service 
from table1
where table1.id in (24,26,28)
Result is NULL, thank you all for reply my question.
 
     
     
     
    