3. Modify p2ql.sql to display the name and salary for all employees whose salary is not in the range of $1500 and $2850. Resave your SQL statement to a file named p2q3.sql. Rerun your query. ENAME SAL SMITH 800 WARD 1250 JONES 2975 MARTIN 1250 SCOTT 3000 KING 5000 ADAMS 1100 JAMES 950 FORD 3000 MILLER 1300 10 rows selected. 4. Display the employee name, job and start date of employees hired between February 20. 1981, and May 1. 1981. Order the query in ascending order by start date. ENAME JOB HIREDATE ALLEN SALESMAN 20/02/1981 WARD SALESMAN 22/02/1981 JONES MANAGER 02/04/1981 BLAKE MANAGER 01/05/1981

Database Systems: Design, Implementation, & Management
11th Edition
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:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter7: Introduction To Structured Query Language (sql)
Section: Chapter Questions
Problem 5P: Write the SQL code to change the job code to 501 for the person whose employee number (EMP_NUM) is...
icon
Related questions
Question
3. Modify p2ql.sql to display the name and salary for all employees whose
salary is not in the range of $1500 and $2850. Resave your SQL statement
to a file named p2q3.sql. Rerun your query.
ENAME
SAL
SMITH
800
WARD
1250
JONES
2975
MARTIN
1250
SCOTT
3000
KING
5000
ADAMS
1100
JAMES
950
FORD
3000
MILLER
1300
10 rows selected.
4. Display the employee name, job and start date of employees hired between
February 20. 1981, and May 1. 1981. Order the query in ascending order by
start date.
ENAME
JOB
HIREDATE
ALLEN
SALESMAN
20/02/1981
WARD
SALESMAN
22/02/1981
JONES
MANAGER
02/04/1981
BLAKE
MANAGER
01/05/1981
Transcribed Image Text:3. Modify p2ql.sql to display the name and salary for all employees whose salary is not in the range of $1500 and $2850. Resave your SQL statement to a file named p2q3.sql. Rerun your query. ENAME SAL SMITH 800 WARD 1250 JONES 2975 MARTIN 1250 SCOTT 3000 KING 5000 ADAMS 1100 JAMES 950 FORD 3000 MILLER 1300 10 rows selected. 4. Display the employee name, job and start date of employees hired between February 20. 1981, and May 1. 1981. Order the query in ascending order by start date. ENAME JOB HIREDATE ALLEN SALESMAN 20/02/1981 WARD SALESMAN 22/02/1981 JONES MANAGER 02/04/1981 BLAKE MANAGER 01/05/1981
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intermediate SQL concepts
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
Recommended textbooks for you
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr