Design ERD for the above scenario 1) What are the ages of the retired employees who have pension more than Rs 1 Lac?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
A) Consider the following Schema of Shaheen Airline Pakistan; they want you to generate
reports by using the following Retired Employee Information Database.
Retired Employee (eid:int name:varchar(25), age:int, pension:int)
Duration_Work(eid:int, did:int, dname:varchar(25), work_to,work_from,percent_time:DATETIME)
Department_Worked(did:int dname:varchar(25), depart_budget:long int, manager:int)
Design ERD for the above scenario
1) What are the ages of the retired employees who have pension more than Rs 1 Lac?
2) Find the names of the retired employee who serves the department more than 30% of time
of their life and have a budget of over Rs 10 Lac.
3) Find the name of the employee who exactly serves one department only in their whole life?
4) Find the name of the departments who have an/are retired to be employee(s) having age
between 50 to 60 only?
5) Find the name of the retired employee who serves only "Cargo Department" or who serves
the department more than half of their life time in single department.( Hint : Use UNION (U)
Set Operation)
Transcribed Image Text:A) Consider the following Schema of Shaheen Airline Pakistan; they want you to generate reports by using the following Retired Employee Information Database. Retired Employee (eid:int name:varchar(25), age:int, pension:int) Duration_Work(eid:int, did:int, dname:varchar(25), work_to,work_from,percent_time:DATETIME) Department_Worked(did:int dname:varchar(25), depart_budget:long int, manager:int) Design ERD for the above scenario 1) What are the ages of the retired employees who have pension more than Rs 1 Lac? 2) Find the names of the retired employee who serves the department more than 30% of time of their life and have a budget of over Rs 10 Lac. 3) Find the name of the employee who exactly serves one department only in their whole life? 4) Find the name of the departments who have an/are retired to be employee(s) having age between 50 to 60 only? 5) Find the name of the retired employee who serves only "Cargo Department" or who serves the department more than half of their life time in single department.( Hint : Use UNION (U) Set Operation)
Expert Solution
steps

Step by step

Solved in 4 steps with 11 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY