Lists

    PRQL

    SQL

    1. SELECT
    2. 1 AS x,
    3. 2 AS y,
    4. 1 AS a,
    5. 1 AS c,
    6. 2 AS d
    7. FROM

    Most transforms can take either a list or a single item, so these are equivalent:

    PRQL

    SQL

    1. SELECT
    2. FROM
    3. employees

    PRQL

    SQL

    1. SELECT
    2. first_name
    3. FROM