Answers for "mysql join column order By and group By"

SQL
0

mysql join column order By and group By

SELECT GROUP_CONCAT( table2.id ORDER BY table2.created_at DESC )
FROM table1 INNER JOIN table2 ON table1.id  = table2.table1_id
GROUP BY
table1.id
ORDER BY
table2.created_at
Posted by: Guest on November-10-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language