79247774

Date: 2024-12-03 13:27:50
Score: 2.5
Natty:
Report link

When you are using aggregation function you have to in GROUP BY clause list every column which you have in your SELECT, so you have to list A.restaurant_id in GROUP BY becouse you use this column in SELECT.

In my opinion you haven't to using B.restaurant_name, A.restaurant_id is enough.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: Kacper Grabarczyk