EMPNO ENAME JOB M...Y HIREDATE SAL t COMM DEPTNO 1 7521 WARD 2 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 3 7934 MILLER CLERK SALESMAN 7698 22-FEB-81 1250 500 30 1400 7782 23-JAN-82 1300 (null) 30 10 2. Select all employees in salary grade 1 and 3. EMPNO ENAME JOB MGR 8 HIREDATE SAL 8 COMM DEPTNO . 72 CO MTO MIT 700 217 000

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
Part A - SCOTT Schema
1. Select all employees in salary grade 2.
EMPNO ENAME
1 7521 WARD
JOB
M...Y HIREDATE
SAL
COMM
DEPTNO
SALESMAN 7698 22-FEB-81 1250
500
1400
7782 23-JAN-82 1300 (null)
30
2 7654 MARTIN SALESMAN 7698 28-SEP-81 1250
30
3 7934 MILLER CLERK
10
2. Select all employees in salary grade 1 and 3.
COMM
7902 17-DEC-80 800 (null)
300
EMPNO ENAME
JOB
MGR
HIREDATE
O SAL
DEPTNO
17369 SMITH CLERK
27499ALLEN SALESMAN 7698 20-FEB-81 1600
3 7844 TURNER SALESMAN 7698 08-SEP-81 1500
4 7876ADAMS CLERK
5 7900 JAMES CLERK
30
7788 23-MAY-87 1100 (null)
7698 03-DEC-81 950 (null)
20
30
3. Select all employees located in Chicago.
EMPNO ENAME
JOB
MGR
HIREDATE
SAL
t COMM
DEPTNO
1 7499ALLEN SALESMAN 7698 20-FEB-81 1600
300
30
2 7521 WARD
SALESMAN 7698 22-FEB-81 1250
500
30
3 7654 MARTIN SALESMAN 7698 28-SEP-81 1250
1400
30
4 7698 BLAKE MANAGER 7839 01-MAY-81 2850 (null)
5 7844 TURNER SALESMAN 7698 08-SEP-81 1500
6 7900 JAMES CLERK
30
30
7698 03-DEC-81 950 (null)
30
O0000
N3323m
Transcribed Image Text:Part A - SCOTT Schema 1. Select all employees in salary grade 2. EMPNO ENAME 1 7521 WARD JOB M...Y HIREDATE SAL COMM DEPTNO SALESMAN 7698 22-FEB-81 1250 500 1400 7782 23-JAN-82 1300 (null) 30 2 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 30 3 7934 MILLER CLERK 10 2. Select all employees in salary grade 1 and 3. COMM 7902 17-DEC-80 800 (null) 300 EMPNO ENAME JOB MGR HIREDATE O SAL DEPTNO 17369 SMITH CLERK 27499ALLEN SALESMAN 7698 20-FEB-81 1600 3 7844 TURNER SALESMAN 7698 08-SEP-81 1500 4 7876ADAMS CLERK 5 7900 JAMES CLERK 30 7788 23-MAY-87 1100 (null) 7698 03-DEC-81 950 (null) 20 30 3. Select all employees located in Chicago. EMPNO ENAME JOB MGR HIREDATE SAL t COMM DEPTNO 1 7499ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 2 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 3 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30 4 7698 BLAKE MANAGER 7839 01-MAY-81 2850 (null) 5 7844 TURNER SALESMAN 7698 08-SEP-81 1500 6 7900 JAMES CLERK 30 30 7698 03-DEC-81 950 (null) 30 O0000 N3323m
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Bare Bones Programming Language
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