1.

SQL subqueries that can occur wherever a value is permitted provided the subquery gives only one tuple with a single attribute are called _________(a) Exact Subqueries(b) Vector Subqueries(c) Positive Subqueries(d) Scalar SubqueriesThe question was asked in quiz.My enquiry is from Nested Subqueries topic in section Introduction to Relational Model and Sql of RDBMS

Answer»

The CORRECT CHOICE is (d) Scalar Subqueries

The EXPLANATION is: 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