1.Write SQL Command to, display employee id and ob id who gets salary within the range of 4000 and 8000.

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
icon
Concept explainers
Question
Use the following tables to write the SQL queries:
Table Name: Employees
EMPLOYEE_ID
FIRST_NAME
HIRE DATE
JOB_ID
SALARY
DEPARTMENT_ID
100
Steven
02/13/2008
AD PRES
24000
90
101
Neena
05/20/2010
AD_VP
17000
90
102
Lex
09/11/2013
AD VP
17000
90
103
Alexander
09/01/2010
IT PROG
9000
60
104
Bruce
01/17/2012
IT PROG
6000
60
105
David
02/21/2018
IT PROG
4800
60
106
Vali
10/04/2018
IT PROG
4800
60
107
Diana
10/06/2019
IT PROG
4200
60
114
Den
08/05/2015
PU_MAN
11000
30
115
Alexander
01/14/2016
PU CLERK
3100
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
M5V 2L7
Toronto
CA
90
Executive
1700
1900
YSW 9T2
Whitehorse
CA
100
Finance
1700
1.Write SQL Command to, display employee id and
job id who gets salary within the range of 4000 and
8000.
Transcribed Image Text:Use the following tables to write the SQL queries: Table Name: Employees EMPLOYEE_ID FIRST_NAME HIRE DATE JOB_ID SALARY DEPARTMENT_ID 100 Steven 02/13/2008 AD PRES 24000 90 101 Neena 05/20/2010 AD_VP 17000 90 102 Lex 09/11/2013 AD VP 17000 90 103 Alexander 09/01/2010 IT PROG 9000 60 104 Bruce 01/17/2012 IT PROG 6000 60 105 David 02/21/2018 IT PROG 4800 60 106 Vali 10/04/2018 IT PROG 4800 60 107 Diana 10/06/2019 IT PROG 4200 60 114 Den 08/05/2015 PU_MAN 11000 30 115 Alexander 01/14/2016 PU CLERK 3100 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 M5V 2L7 Toronto CA 90 Executive 1700 1900 YSW 9T2 Whitehorse CA 100 Finance 1700 1.Write SQL Command to, display employee id and job id who gets salary within the range of 4000 and 8000.
Expert Solution
steps

Step by step

Solved in 2 steps

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