What is a SQL CTE (Common Table Expression) and how is it defined?
-
A
A permanent stored query defined with CREATE CTE
-
B
A temporary named result set defined with the WITH clause before a SELECT
-
C
A session-level variable storing query results
-
D
A cached materialized view refreshed automatically