Which SQL clause is used to define a temporary result set that can be referenced within a query?
-
A
HAVING
-
B
WITH
Correct answer
-
C
ORDER BY
-
D
GROUP BY
14 views
Explanation
WITH clause (Common Table Expression) defines a temporary result set. Source: mcqsmind.com, SQL Joins, Q2.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ