Answers for "group by 2 columns mysql"

SQL
0

mysql multiple group by

GROUP BY col1, col2
Posted by: Guest on January-22-2021
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