765 views
1 votes
1 votes
Consider relational schema $R(A,B,C)$ and $S(A,B,C)$

$1)$ Select * from $R$ where $(A,B,C)$ in (Select * from $S$)

$2)$ Select * from $R$ where exists ( Select * from $S$ where R.A=S.A and R.B=S.B and R.C=S.C)

$3)$ Select * from R where $(A,B,C)$ not in((Select * from $R$ where $(A,B,C)$ not in)Select * from S)

Which of the following SQL expression equal to $R\cap S$?

1 Answer

Related questions

0 votes
0 votes
1 answer
2
rayhanrjt asked Jan 6, 2023
768 views
Write SQL command to find DepartmentID, EmployeeName from Employee table whose average salary is above 20000.
2 votes
2 votes
1 answer
3
Subhrangsu asked Jun 18, 2022
447 views
Write SQL query to show all employees hired on June 4,1984 (non-default format)emp(empno,ename,job,mgr,hiredate,sal,comm,deptno)
1 votes
1 votes
1 answer
4
Shubhanshu asked Dec 24, 2018
1,306 views
According to me it should be – “Retrieve the names of all students with a lower rank, than all students with age < 18 ”