Mysql
 sql >> Database >  >> RDS >> Mysql

sql group_concat e sottoquery

Prova questo::

SELECT 
ccm.id_model,group_concat(cm.tile, SEPARATOR ',') 
FROM 
car__car_model as ccm  
inner join car_model cm on (cm.id = ccm.id_advice_model) 
group by ccm.id_model