From

Specifies a data source.

  1. from {table_reference}

Table names containing schemas or needing to be quoted for other reasons need to be contained within backticks.

Examples

PRQL

  1. from employees

SQL

  1. SELECT
  2. *
  3. FROM
  4. employees

To introduce an alias, use an assign expression:

PRQL

  1. from e = employees
  2. select e.first_name

SQL

  1. SELECT
  2. first_name
  3. FROM
  4. employees AS e