GROUP CONCAT not working for some reason GROUP CONCAT not working for some reason sql sql

GROUP CONCAT not working for some reason


There must be no space between function name and parenthesis. Change

GROUP_CONCAT (`shirt_sizes`.`size_name`) AS `sizes`

to

GROUP_CONCAT(`shirt_sizes`.`size_name`) AS `sizes`