Computer Sciences > GATE 2014 SET-2 > SQL
SQL allows duplicate tuples in relations, and correspondingly defines the multiplicity of tuples in the result of joins. Which one of the following queries always gives the same answer as the nested query shown below:
SELECT * FROM R WHERE a IN (SELECT S.a FROM S)
SELECT * FROM R WHERE a IN (SELECT S.a FROM S)
Correct : c
Similar Questions
Consider the following relational schema:employee (empId, empName, empDept)customer (custId, custName, salesRepId, rating)salesRepId is a foreign key referring...
Consider the following relational schema:employee (empId, empName, empDept)customer (custId, custName, salesRepId, rating)salesRepId is a foreign key referring...
Consider the following relational schema:employee (empId, empName, empDept)customer (custId, custName, salesRepId, rating)salesRepId is a foreign key referring...
Total Unique Visitors
Loading......