Use the following tables to write the SQL queries: Table Name: Employees EMPLOVE FRST NAME HDATE DEPARTMENT SALARY Sven 24000 AD mo00 Le AD Aleande Dat pROG 00 va 00 Dan 4200 Den Nne Aleander PUCE s00 Table Name: Departments Table Name: Locations LOCATION ID DEPARTMENT ID DEPARTMENT NAME LOCATION ID POSTAL_CODE CITY COUNTRY Administration 1700 1400 202 Southlake uS 30 Purchasing 1700 1500 South San Francisco us 50 Shipping 1500 1600 South Brunsc US 1700 Seate US 60 IT 1400 100 MSV7 Toronto CA 90 Executive 1700 100 whitehorse CA 100 Finance 1700 Write SQL Command to display all employees details whose first name ends with the letter 'n'.

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
Use the following tables to write the SQL queries:
Table Name: Employees
HIRE DATE
SALARY
DEPARTMENT ID
EMPLOYEE ID
FIRST NAME
JOB ID
02/11/2008
AD PRES
100
Steven
24000
90
101
Neena
0/20/2010
AD VP
17000
90
102
Lex
09/1/2013
AD VP
17000
90
105
Alexander
09/oy2010
IT PROG
9000
104
Bruce
oyny2ou
IT PROG
6000
60
105
David
02/2/208
IT PROG
4800
60
106
val
10/04/2018
ITPROG
4800
60
107
Diana
10/06/20
IT PROG
4200
60
14
Den
O8/05/2015
PU MAN
no00
30
PU CLERK
3100
115
Alexander
o/14/2016
30
Table Name: Departments
Table Name: Locations
DEPARTMENT_ID
DEPARTMENT_NAME
LOCATION_ID
LOCATION_ID
POSTAL_CODE
CITY
COUNTRY ID
10
Administration
1700
1400
26192
Southlake
US
30
Purchasing
1700
1500
99236
South San Francisco
US
50
Shipping
1500
1600
50090
South Brunswick
US
1700
98199
Seattle
US
60
IT
1400
1800
MSV 217
Toronto
CA
90
Executive
1700
1900
YSW OT2
Whitehorse
CA
100
Finance
1700
Write SQL Command to display all employees details whose first name ends with the letter 'n' .
Transcribed Image Text:Use the following tables to write the SQL queries: Table Name: Employees HIRE DATE SALARY DEPARTMENT ID EMPLOYEE ID FIRST NAME JOB ID 02/11/2008 AD PRES 100 Steven 24000 90 101 Neena 0/20/2010 AD VP 17000 90 102 Lex 09/1/2013 AD VP 17000 90 105 Alexander 09/oy2010 IT PROG 9000 104 Bruce oyny2ou IT PROG 6000 60 105 David 02/2/208 IT PROG 4800 60 106 val 10/04/2018 ITPROG 4800 60 107 Diana 10/06/20 IT PROG 4200 60 14 Den O8/05/2015 PU MAN no00 30 PU CLERK 3100 115 Alexander o/14/2016 30 Table Name: Departments Table Name: Locations DEPARTMENT_ID DEPARTMENT_NAME LOCATION_ID LOCATION_ID POSTAL_CODE CITY COUNTRY ID 10 Administration 1700 1400 26192 Southlake US 30 Purchasing 1700 1500 99236 South San Francisco US 50 Shipping 1500 1600 50090 South Brunswick US 1700 98199 Seattle US 60 IT 1400 1800 MSV 217 Toronto CA 90 Executive 1700 1900 YSW OT2 Whitehorse CA 100 Finance 1700 Write SQL Command to display all employees details whose first name ends with the letter 'n' .
Expert Solution
steps

Step by step

Solved in 2 steps

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.
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