SQL Tutorial

SQL Syntax

Source: Bro Code

SQL Syntax

Every SQL program has rules for how statements are written and executed.

  • Follow SQL syntax rules for statements and blocks
  • Use comments to document code
  • Run examples in the Try it editor

Example

SQL
SELECT first_name, last_name FROM students;
Try it Yourself
Run this SQL example in your local environment or course sandbox.