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

restituire tutte le colonne in una tabella MySQL in un formato stringa

select group_concat(column_name separator ', ') 
from information_schema.columns 
where table_name = 'course' 
group by table_name