Use SQL Query Builder to create a WITH statement that you can reference from a SELECT statement. A WITH statement comprises one or more common table
expressions and a SELECT statement. A common table expression
defines a named result table that you can specify as a table in
the FROM clause of a subsequent SELECT statement.
Note: Some syntactic variations might exist between your database and the SQL syntax that SQL Query Builder supports; consequently, some SQL Query Builder features might not work with your database.