Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

19 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 74211300 7369

image text in transcribed

19 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 74211300 7369 7566 2250 7421 2 100 20 3 points SELECT e.emp_id, d.Dept_id FROM emp dept ed LEFT OUTER JOIN emp e ON e.emp_id = ed.emp_id LEFT OUTER JOIN Dept d ON d.Dept_id = ed.Dept_id; O Result set 3 O Result set 4 Result set 6 Dept_id Dept Name RandD IT Result set 5 HR OOOO Result set 1 Result set 2 Match the following queries with the outputs (not all results need to be matched and some results may be repeated) Result set 1 Result set 2 Result set 3 emp_id] Dept_id emp_id Dept_id 7369 emp_id Dept_id 7369 | 1 7369 7369 1 7421 | 2 7421 2 7369 2 7566 Result set 6 Result set 4 Result set 5 emp_id Dept_id emp_id] Dept_id emp_id Dept_id 7369 1 7369 7369 7369 7369 2 7421 7421 7369 WNN 7421 WN 7566|

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

What is human nature?

Answered: 1 week ago