Answered step by step
Verified Expert Solution
Question
1 Approved Answer
21 Question 05 If you are given the data of emp, emp_dept and dept tables: emp_id sal emp_id Dept_id Percentage_time 7369 1250 7369 7421 1300
21 Question 05 If you are given the data of emp, emp_dept and dept tables: emp_id sal emp_id Dept_id Percentage_time 7369 1250 7369 7421 1300 7369 7566 2250 7421 2 100 3 points SELECT ed.emp_id, ed.Dept_id FROM emp_dept ed WHERE emp_id IN (SELECT emp_id FROM emp_dept e GROUP BY emp_id HAVING count(*) > 1); 20 Dept_id Result set 6 I Dept Name RandD IT HR Result set 2 Result set 3 OOOOOO Result set 5 Result set 4 Result set 1 Match the following queries with the outputs (not all results need to be matched and some results may be repeated) Result set 2 Result set 1 Result set 3 emp_id| Dept_id emp_id | Dept_id emp_id Dept_id 7369 1 7369 | 1 7369 | 1 7369 2 7421 | 2 7369 | 2 7421 | 2 7566 | Result set 6 Result set 4 Result set 5 emp_id Dept_id emp_id] Dept_id emp_id Dept_id 7369 7369 7369 1 7369 | 7369 73691 2 7421 | 2 7421 7421 | 7566 WN
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