Common Table Expressions

MariaDB starting with 10.2.1

Common table expressions were introduced in MariaDB 10.2.1.

Title Description
Non-Recursive Common Table Expressions Overview Common Table Expressions (CTEs) are essentially Temporary Named Result Sets.
Recursive Common Table Expressions Overview A recursive CTE will repeatedly execute subsets of the data until obtaining the complete results
WITH Allows reference to subqueries as temporary tables within queries.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.