1.

Scalar Subqueries can be used in the SQL update statement when they are used under the ____ clause(a) where(b) with(c) set(d) endThis question was addressed to me in semester exam.The query is from Modification of Database in section Introduction to Relational Model and Sql of RDBMS

Answer» CORRECT answer is (c) set

To EXPLAIN I would say: SQL subqueries that can occur wherever a value is permitted provided the subquery gives only one TUPLE with a single ATTRIBUTE are CALLED Scalar subqueries. Scalar Subqueries can be used in the SQL update statement when they are used under the set clause.


Discussion

No Comment Found

Related InterviewSolutions