Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago