Write a query to display the first name, last name, and email address of employees hired from May 1, 2011, to December 31, 2012. Sort the output by last name and then by first name table 29 Write a query to display the first name, last name, phone number, title, and department number of employees who work in department 300 or have the title “CLERK I.” Sort the output by last name and then by first name, table 30

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Write a query to display the first name, last name, and email address of employees hired from May 1, 2011, to December 31, 2012. Sort the output by last name and then by first name table 29

Write a query to display the first name, last name, phone number, title, and department number of employees who work in department 300 or have the title “CLERK I.” Sort the output by last name and then by first name, table 30

I added the tables for the questions

Thank you!!

 

**Figure P7.30: Clerks and Employees in Department 300**

This table provides detailed information about the clerks and employees working in Department 300. Below is the breakdown of each column and its contents:

- **EMP_FNAME**: First name of the employee.
- **EMP_LNAME**: Last name of the employee.
- **EMP_PHONE**: Employee’s phone number.
- **EMP_TITLE**: Job title of the employee.
- **DEPT_NUM**: Department number, which is 300 for all employees listed here.

**Table Details:**

1. **LAVINA ACEVEDO**  
   - Phone: 862-6787  
   - Title: ASSOCIATE

2. **LAUREN AVERY**  
   - Phone: 550-2270  
   - Title: SENIOR ASSOCIATE

3. **ROSALBA BAKER**  
   - Phone: 632-8197  
   - Title: ASSOCIATE

4. **FERN CARPENTER**  
   - Phone: 735-4820  
   - Title: PURCHASING SPECIALIST

5. **LEEANN CLINTON**  
   - Phone: 616-9615  
   - Title: CLERK I

6. **TANIKA CRANE**  
   - Phone: 449-6336  
   - Title: PURCHASING SPECIALIST

7. **SAMMY DIGGS**  
   - Phone: 525-2130  
   - Title: SENIOR ASSOCIATE

8. **LANA DOWDY**  
   - Phone: 471-8795  
   - Title: SENIOR ASSOCIATE

9. **STEPHANIE DUNLAP**  
   - Phone: 618-8203  
   - Title: BUYER - RAW MATERIALS

10. **HAL FISHER**  
    - Phone: 676-3662  
    - Title: SENIOR ASSOCIATE

11. **LINDSAY GOOD**  
    - Phone: 337-9570  
    - Title: CLERK I

12. **LEEANN HORN**  
    - Phone: 828-4361  
    - Title: SENIOR ASSOCIATE

All employees listed are part of Department 300, which includes a variety of job titles ranging from associates to purchasing specialists and clerks
Transcribed Image Text:**Figure P7.30: Clerks and Employees in Department 300** This table provides detailed information about the clerks and employees working in Department 300. Below is the breakdown of each column and its contents: - **EMP_FNAME**: First name of the employee. - **EMP_LNAME**: Last name of the employee. - **EMP_PHONE**: Employee’s phone number. - **EMP_TITLE**: Job title of the employee. - **DEPT_NUM**: Department number, which is 300 for all employees listed here. **Table Details:** 1. **LAVINA ACEVEDO** - Phone: 862-6787 - Title: ASSOCIATE 2. **LAUREN AVERY** - Phone: 550-2270 - Title: SENIOR ASSOCIATE 3. **ROSALBA BAKER** - Phone: 632-8197 - Title: ASSOCIATE 4. **FERN CARPENTER** - Phone: 735-4820 - Title: PURCHASING SPECIALIST 5. **LEEANN CLINTON** - Phone: 616-9615 - Title: CLERK I 6. **TANIKA CRANE** - Phone: 449-6336 - Title: PURCHASING SPECIALIST 7. **SAMMY DIGGS** - Phone: 525-2130 - Title: SENIOR ASSOCIATE 8. **LANA DOWDY** - Phone: 471-8795 - Title: SENIOR ASSOCIATE 9. **STEPHANIE DUNLAP** - Phone: 618-8203 - Title: BUYER - RAW MATERIALS 10. **HAL FISHER** - Phone: 676-3662 - Title: SENIOR ASSOCIATE 11. **LINDSAY GOOD** - Phone: 337-9570 - Title: CLERK I 12. **LEEANN HORN** - Phone: 828-4361 - Title: SENIOR ASSOCIATE All employees listed are part of Department 300, which includes a variety of job titles ranging from associates to purchasing specialists and clerks
**Figure P7.29: Employees Hired within Dates**

This table presents a list of employees, detailing their first names, last names, and corresponding email addresses. It is divided into three columns:

1. **EMP_FNAME (First Name)**
2. **EMP_LNAME (Last Name)**
3. **EMP_EMAIL (Email Address)**

**Table Breakdown:**

- **Doug Caudill**: Email - c.doug@lgcompany.com
- **Olivia Deleon**: Email - o.deleon@lgcompany.com
- **Gale Dewitt**: Email - g.dewitt1@lgcompany.com
- **Francesco Elliot**: Email - f.elliott1@lgcompany.com
- **Precious Farmer**: Email - p.farmer1@lgcompany.com
- **Jannette Harrison**: Email - j.harrison@lgcompany.com
- **Hal Hinkle**: Email - h.hinkle0@lgcompany.com
- **Willard Long**: Email - w.long1@lgcompany.com
- **Yong McDonald**: Email - y.mcdonald@lgcompany.com
- **Denna McGraw**: Email - d.mcgraw1@lgcompany.com
- **Rashida Neal**: Email - r.mcneal@lgcompany.com
- **Gil Osborn**: Email - g.osborn@lgcompany.com
- **Tonja Perkins**: Email - t.perkin0@lgcompany.com
- **Stella Phelps**: Email - s.phelps1@lgcompany.com
- **Mitchell Roland**: Email - m.roland0@lgcompany.com
- **Darron Tilley**: Email - d.tilley@lgcompany.com
- **Alejandra Whaley**: Email - w.alejandra0@lgcompany.com
- **Alyson Willard**: Email - a.willar1@lgcompany.com

This table is formatted to provide a clear view of employee contact information, useful for understanding personnel hired within specific dates.
Transcribed Image Text:**Figure P7.29: Employees Hired within Dates** This table presents a list of employees, detailing their first names, last names, and corresponding email addresses. It is divided into three columns: 1. **EMP_FNAME (First Name)** 2. **EMP_LNAME (Last Name)** 3. **EMP_EMAIL (Email Address)** **Table Breakdown:** - **Doug Caudill**: Email - c.doug@lgcompany.com - **Olivia Deleon**: Email - o.deleon@lgcompany.com - **Gale Dewitt**: Email - g.dewitt1@lgcompany.com - **Francesco Elliot**: Email - f.elliott1@lgcompany.com - **Precious Farmer**: Email - p.farmer1@lgcompany.com - **Jannette Harrison**: Email - j.harrison@lgcompany.com - **Hal Hinkle**: Email - h.hinkle0@lgcompany.com - **Willard Long**: Email - w.long1@lgcompany.com - **Yong McDonald**: Email - y.mcdonald@lgcompany.com - **Denna McGraw**: Email - d.mcgraw1@lgcompany.com - **Rashida Neal**: Email - r.mcneal@lgcompany.com - **Gil Osborn**: Email - g.osborn@lgcompany.com - **Tonja Perkins**: Email - t.perkin0@lgcompany.com - **Stella Phelps**: Email - s.phelps1@lgcompany.com - **Mitchell Roland**: Email - m.roland0@lgcompany.com - **Darron Tilley**: Email - d.tilley@lgcompany.com - **Alejandra Whaley**: Email - w.alejandra0@lgcompany.com - **Alyson Willard**: Email - a.willar1@lgcompany.com This table is formatted to provide a clear view of employee contact information, useful for understanding personnel hired within specific dates.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Single 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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education