pls help me SQL Instructions: Answers ALL the questions. This test contributes 5% to your coursework. Use the following Table to write the queries. Emp Infor Table EmpID EmpFname EmpLname Department Salary 1 Mohd Ali HR 2000 2 Azizah Suliman Admin 3 Chen Kang Kulkarni 4 Ananthi 5 Manjit Sidhu Address Kuantan 3500 Ipoh 5000 Kuala Lumpur Georgetown Kangar Account HR 1800 Admin 8000 DOB Gender 01/12/1977 M 02/05/1975 01/01/1984 02/05/1995 F 03/07/1998 M 1. Write the query to display all the records in the Emp_Infor table. F M 2. Write a query to display the number of employees working in the department 'HR'.

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 3P
icon
Related questions
Question
pls help me SQL
Instructions:
Answers ALL the questions. This test contributes 5% to your coursework.
Use the following Table to write the queries.
Emp_Infor Table
EmpID EmpFname EmpLname Department Salary
1
Mohd
Ali
HR
2000
Admin
Account
2
3
4
5
Azizah
Chen
Ananthi
Manjit
Suliman
Kang
Kulkarni
Sidhu
HR
Admin
Address
Kuantan
Ipoh
1800
8000
DOB
01/12/1977
02/05/1975
3500
5000 Kuala Lumpur 01/01/1984
Georgetown 02/05/1995
Kangar 03/07/1998
1. Write the query to display all the records in the Emp_Infor table.
Gender
MFMFM
2. Write a query to display the number of employees working in the department
'HR'.
Transcribed Image Text:pls help me SQL Instructions: Answers ALL the questions. This test contributes 5% to your coursework. Use the following Table to write the queries. Emp_Infor Table EmpID EmpFname EmpLname Department Salary 1 Mohd Ali HR 2000 Admin Account 2 3 4 5 Azizah Chen Ananthi Manjit Suliman Kang Kulkarni Sidhu HR Admin Address Kuantan Ipoh 1800 8000 DOB 01/12/1977 02/05/1975 3500 5000 Kuala Lumpur 01/01/1984 Georgetown 02/05/1995 Kangar 03/07/1998 1. Write the query to display all the records in the Emp_Infor table. Gender MFMFM 2. Write a query to display the number of employees working in the department 'HR'.
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Multiple table
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.
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning