Given the tables: emp [eid, ename, salary, d_id], depart [d_id, dname, manager_id] The result o the following two SQL statements are the same:

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 19MC
icon
Related questions
Question

i want the answer of this databse qoustion

please dont answer until u will answer it correctly because im gonna give feedback weather like or dislike

Given the tables: emp [eid, ename, salary, d_id], depart [d_id, dname, manager_id]
The result o the following two SQL statements are the same:
SQL1:
select name
from emp
where empid in (select manager_id
from depart):
SQL2:
select name
from emp e, depart d
where e.empid=d.manager_id;
Select one:
O True
O False
Transcribed Image Text:Given the tables: emp [eid, ename, salary, d_id], depart [d_id, dname, manager_id] The result o the following two SQL statements are the same: SQL1: select name from emp where empid in (select manager_id from depart): SQL2: select name from emp e, depart d where e.empid=d.manager_id; Select one: O True O False
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Types of Security Models
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr