Question
Consider the following relational schemas, namely Employee, WorkOn, and Project. Employee (eid, ename, age, supv_eid) WorkOn (eid, pid) Project (pid, pname, year) The key
Consider the following relational schemas, namely Employee, WorkOn, and Project. Employee (eid, ename, age, supv_eid) WorkOn (eid, pid) Project (pid, pname, year) The key fields are bold. WorkOn.eid refers to Employee.eid, WorkOn.pid refers to Project.pid, and Employee.supv_eid refers to Employee.eid. Write a SQL statement to answer the following question. Retrieve the names of employees who have worked on both 'Database' and 'DataMining' projects.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
You can use a SQL statement with subqueries to retrieve the names of emplo...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 StartedRecommended Textbook for
Database management systems
Authors: Raghu Ramakrishan, Johannes Gehrke, Scott Selikoff
3rd edition
72465638, 978-0072465631
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App