Common Table Expressions Overview

You are viewing an old version of this article. View the current version here.
MariaDB starting with 10.2.1

Common table expressions were introduced in MariaDB 10.2.1.

Common Table Expressions (CTEs) are a standard SQL feature, and are essentially temporary named result sets. There are two kinds of CTEs:

  • Recursive
  • Non-recursive

Non-recursive CTEs

CTEs are similar to derived tables.

Comments

Comments loading...
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.