SQL SELECT: Difference between revisions
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
==<tt>ORDER BY</tt>== | ==<tt>ORDER BY</tt>== | ||
=Subqueries= |
Revision as of 21:12, 22 May 2024
Internal
Overview
Query execution. SQL optimizer. Subqueries.
SELECT FROM WHERE GROUP BY HAVING ORDER BY
Select all (possibly across multiple tables) then filter and discard with where.
Clauses
FROM
FROM permanent|derived|temporary|virtual(view)
Table alias.
Querying Multiple Tables
WHERE
Filters, conditions, condition evaluation.
GROUP BY ... HAVING
(make sure I understand thoroughly and link)