Question: Consider the following Schema Emp(eid:integer, ename:string, age: integer, salary: real) Works(eid:integer, did: integer, pct time: integer) Dept(did: integer, dname: string, budget: real, managerid: integer) An

 Consider the following Schema Emp(eid:integer, ename:string, age: integer, salary: real) Works(eid:integer,

Consider the following Schema Emp(eid:integer, ename:string, age: integer, salary: real) Works(eid:integer, did: integer, pct time: integer) Dept(did: integer, dname: string, budget: real, managerid: integer) An employee can work in more than one department; the pct_time field of the. Works relation indicates percentage of time. Managerid references Emp table. Clicking on the next page completes the answers to the questions on this page you cannot go back!). Question: Write an SQL Query to Print the eid, name of all employees that work exactly in one department

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!