You have given a table from a database and the name of the table is Employees  Please display the following from the Employees 1) The Employee Id, Last Name and First Name for each employee in order in terms of Last Name. 2) The employees who is title is Sales Representative 3) Delete the employee whose title of courtesy is Dr.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
icon
Concept explainers
Question

You have given a table from a database and the name of the table is Employees
 Please display the following from the Employees


1) The Employee Id, Last Name and First Name for each employee in order in terms of Last Name.

2) The employees who is title is Sales Representative


3) Delete the employee whose title of courtesy is Dr.


4) Update the title of the employee whose title is Sales Manager to Senior Sales Manager.

<
12:59
Module 14 Assignment
You have given a table from a database and the name of the table is Employees
▶
Employee D
1
2
3
4
5
6
7
8
9
mylearning.suny.edu
Last Name
Davolio
Fuller
Leverling
Peacock
First Name
Nancy
Andrew
Janet
Margaret
Steven
Michael
Robert
Callahan
Laura
Dodsworth Anne
Buchanan
Suyama
King
TitleOfCourtesy
Ms.
Title
Sales Representative
Vice President, Sales Dr.
Sales Representative Ms.
Sales Representative Mrs.
Sales Manager
Mr.
Sales Representative Mr.
Sales Representative Mr.
Inside Sales Coordinator Ms.
Sales Representative Ms.
Birth Date
Hire Date
Address
1948-12-08 00:00:00 1992-05-01 00:00:00 507-20th
1952-02-19 00:00:00 1992-08-14 00:00:00 908 W. Ca
1963-08-30 00:00:00 1992-04-01 00:00:00 722 Moss
1937-09-19 00:00:00 1993-05-03 00:00:00 4110 Old
1955-03-04 00:00:00 1993-10-17 00:00:00 14 Garrett
1963-07-02 00:00:00 1993-10-17 00:00:00 Coventry h
1960-05-29 00:00:00 1994-01-02 00:00:00 Edgeham
1958-01-09 00:00:00 1994-03-05 00:00:00 4726-11
1966-01-27 00:00:00 1994-11-15 00:00:00 7 Houndst
Please display the following from the Employees
1) The Employee Id, Last Name and First Name for each employee in order in terms of Last Name.
2) The employees who is title is Sales Representative
3) Delete the employee whose title of courtesy is Dr.
4) Update the title of the employee whose title is Sales Manager to Senior Sales Manager.
Ć
Transcribed Image Text:< 12:59 Module 14 Assignment You have given a table from a database and the name of the table is Employees ▶ Employee D 1 2 3 4 5 6 7 8 9 mylearning.suny.edu Last Name Davolio Fuller Leverling Peacock First Name Nancy Andrew Janet Margaret Steven Michael Robert Callahan Laura Dodsworth Anne Buchanan Suyama King TitleOfCourtesy Ms. Title Sales Representative Vice President, Sales Dr. Sales Representative Ms. Sales Representative Mrs. Sales Manager Mr. Sales Representative Mr. Sales Representative Mr. Inside Sales Coordinator Ms. Sales Representative Ms. Birth Date Hire Date Address 1948-12-08 00:00:00 1992-05-01 00:00:00 507-20th 1952-02-19 00:00:00 1992-08-14 00:00:00 908 W. Ca 1963-08-30 00:00:00 1992-04-01 00:00:00 722 Moss 1937-09-19 00:00:00 1993-05-03 00:00:00 4110 Old 1955-03-04 00:00:00 1993-10-17 00:00:00 14 Garrett 1963-07-02 00:00:00 1993-10-17 00:00:00 Coventry h 1960-05-29 00:00:00 1994-01-02 00:00:00 Edgeham 1958-01-09 00:00:00 1994-03-05 00:00:00 4726-11 1966-01-27 00:00:00 1994-11-15 00:00:00 7 Houndst Please display the following from the Employees 1) The Employee Id, Last Name and First Name for each employee in order in terms of Last Name. 2) The employees who is title is Sales Representative 3) Delete the employee whose title of courtesy is Dr. 4) Update the title of the employee whose title is Sales Manager to Senior Sales Manager. Ć
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Knowledge Booster
Query Syntax
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning