Emp Infor Table EmpID EmpFname EmpLname Department Salary 1 Mohd Ali HR 2000 Suliman 3500 02/05/1975 F 5000 Kuala Lumpur 01/01/1984 M 2 3 4 5 Azizah Chen Ananthi Manjit Kang Kulkami Sidhu Admin Account HR Admin 1800 8000 Address Kuantan Ipoh Georgetown Kangar Gender DOB 01/12/1977 M 02/05/1995 F 03/07/1998 M 4. Write the query to display the first name, EmpID and date of birth for all employees who were born before 1984. The particular employees also gets an increment of 200. 5. Write a query to find all the employees whose salary is between 2000 to 5000. 6. Display the total salary for each department where the value is greater than $3000.

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
Emp Infor Table
EmpID EmpFname EmpLname Department Salary
1
Mohd
Ali
HR
2000
Azizah
Admin
3500
Chen
Suliman
Kang
Kulkarni
Account
5000
Ananthi
1800
Manjit
Sidhu
8000
2
3
4
5
HR
Admin
Address
Kuantan
Ipoh
Kuala Lumpur
Georgetown
Kangar
DOB
01/12/1977 M
02/05/1975 F
01/01/1984 M
02/05/1995 F
03/07/1998 M
Gender
4. Write the query to display the first name, EmpID and date of birth for all
employees who were born before 1984. The particular employees also gets an
increment of 200.
5. Write a query to find all the employees whose salary is between 2000 to 5000.
6. Display the total salary for each department where the value is greater than
$3000.
Transcribed Image Text:Emp Infor Table EmpID EmpFname EmpLname Department Salary 1 Mohd Ali HR 2000 Azizah Admin 3500 Chen Suliman Kang Kulkarni Account 5000 Ananthi 1800 Manjit Sidhu 8000 2 3 4 5 HR Admin Address Kuantan Ipoh Kuala Lumpur Georgetown Kangar DOB 01/12/1977 M 02/05/1975 F 01/01/1984 M 02/05/1995 F 03/07/1998 M Gender 4. Write the query to display the first name, EmpID and date of birth for all employees who were born before 1984. The particular employees also gets an increment of 200. 5. Write a query to find all the employees whose salary is between 2000 to 5000. 6. Display the total salary for each department where the value is greater than $3000.
Expert Solution
steps

Step by step

Solved in 5 steps with 5 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