PRQL

SQL

  1. salary
  2. FROM
  3. employees

PRQL

SQL

  1. SELECT
  2. salary
  3. employees

Multiple items

PRQL

SQL

  1. SELECT
  2. *,
  3. salary + payroll_tax + benefits_cost AS gross_cost
  4. FROM

Same as above but split into two lines:

PRQL

SQL

  1. SELECT
  2. *,
  3. salary + payroll_tax AS gross_salary,
  4. salary + payroll_tax + benefits_cost AS gross_cost
  5. FROM
  6. employees