Part 2: Structured Query Language (SQL)
For a more complete reference, see e.g. the MariaDB reference manual.
Querying a single table (SELECT
)
SELECT * FROM locations;
For a more complete reference, see e.g. the MariaDB reference manual.
SELECT
)SELECT * FROM locations;
WHERE
)JOIN
)NATURAL JOIN
LEFT/RIGHT JOIN
ORDER BY
)GROUP BY
) and aggregating functions