Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 12 What could be the output of the following SQL query? SELECT Empno FROM Employee WHERE deptno 10 and Manager- 'DAVID' or deptno 40,
QUESTION 12 What could be the output of the following SQL query? SELECT Empno FROM Employee WHERE deptno 10 and Manager- 'DAVID' or deptno 40, OA Displays Empno of all the employees who are in department 10 and 40 and whose manager is David. BDisplays Empno of al the employees who belong to department 10 and 40 or whose manager is David. C.Displays Empno of all the employees who belong to department 10 and has David as their manager or who belong to department 40. D. None of the above QUESTION 13 Which of the following SQL statements will return the oldest sales_date when the STORE ID 10 had a sales amount greater than 100? O A. SELECT MAX(SALES-DATE) FROM SALES WHERE STORE-D = 10 AND SALES AMOUNT > 100; B. SELECT SALESDATE FROM SALES WHERE STOREID-10 AND SALESAMOUNT > 100; - - - C. SELECT MIN(SALES-DATE) FROM SALES WHERE STORE ID = 10 OR SALES-AMOUNT > 100; O D SELECT MIN(SALES DATE) FROM SALES WHERE STORE ID = 10 AND SALES AMOUNT> 100
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started