Mysql
 sql >> Base de données >  >> RDS >> Mysql

sql group_concat et sous-requête

Essayez ceci ::

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