SQL Syntax Inquiry

Welcome to the Get Help category!

This is where you can ask questions about your code. Some important things to remember when posting in this category :slight_smile:

  • Learn how to ask a good question and get a good answer!
  • Remember to include a link to the exercise you need help with!
  • If someone answers your question, please mark their response as a solution :white_check_mark:
  • Once you understand a new concept, come back and try to help someone else!

How come a comma is needed after the price following SELECT? If you were to have a lesson requiring the sytax: “SELECT COUNT(*) FROM table” theres’ no comma.

SELECT price,
FROM fake_apps
GROUP BY price

The comma separates the columns you’re selecting.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.