Create a new table, EMP_PROMOTION to store the employees information. You must use a subquery to create the new table. Make the salary column invisible. Display the structure of the table in SQL Developer. Also use a SELECT statement to display all records from the new table EMP_PROMOTION.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 3RA
icon
Related questions
icon
Concept explainers
Question

Create a new table, EMP_PROMOTION to store the employees information. You must use a subquery to create the new table. Make the salary column invisible. Display the structure of the table in SQL Developer. Also use a SELECT statement to display all records from the new table EMP_PROMOTION.

Table EMP_PROMOTION created.
Table EMP PROMOTION altered.
Name
Null
Туре
ΕMPLOYE_ID
NUMBER (5)
MANAGER_ID
FIRST_NAME NOT NULL VARCHAR2 (10)
NUMBER (5)
LAST_NAME
NOT NULL VARCHAR2 (10)
SALARY
NUMBER (6)
Transcribed Image Text:Table EMP_PROMOTION created. Table EMP PROMOTION altered. Name Null Туре ΕMPLOYE_ID NUMBER (5) MANAGER_ID FIRST_NAME NOT NULL VARCHAR2 (10) NUMBER (5) LAST_NAME NOT NULL VARCHAR2 (10) SALARY NUMBER (6)
EMPLOYEE_ID MANAGER_ID FIRST_NAME LAST_NAME
James
Smith
2
1 Ron
Johnson.
3
2 Fred
Hobbs
4
2 Susan
Jones
3 Rob
Green
6
3 Jane
Brown
7
3 John
Grey
4 Jean
Blue
4 Henry
Неузon
10
5 Kevin
Black
5 Keith
5 Frank
11
Long
12
Howard
13
6 Doreen
Penn
6 Mark
7 Jill
7 Megan
14
Smith
15
Jones
16
Craig
17
8 Matthew
Brant
8 Tony
8 Tanya
18
Clerke
19
Conway
20
10 Terry
Cliff
21
10 Steve
Green
22
10 Roy
Red
23
10 Sandra
Smith
24
10 Gail
Silver
25
11 Gerald
Gold
26
11 Eileen
Lane
27
12 Doreen
Upton
28
12 Jack
Ewing
29
12 Paul
Owens
30
13 Melanie
York
31
13 Tracy
Yellow
32
17 Sarah
White
33
18 Terry
Iron
34
18 Christine
Brown
35
20 John
Brown
36
20 Kelvin
Trenton
37
20 Damon
Jones
37 rows selected
Transcribed Image Text:EMPLOYEE_ID MANAGER_ID FIRST_NAME LAST_NAME James Smith 2 1 Ron Johnson. 3 2 Fred Hobbs 4 2 Susan Jones 3 Rob Green 6 3 Jane Brown 7 3 John Grey 4 Jean Blue 4 Henry Неузon 10 5 Kevin Black 5 Keith 5 Frank 11 Long 12 Howard 13 6 Doreen Penn 6 Mark 7 Jill 7 Megan 14 Smith 15 Jones 16 Craig 17 8 Matthew Brant 8 Tony 8 Tanya 18 Clerke 19 Conway 20 10 Terry Cliff 21 10 Steve Green 22 10 Roy Red 23 10 Sandra Smith 24 10 Gail Silver 25 11 Gerald Gold 26 11 Eileen Lane 27 12 Doreen Upton 28 12 Jack Ewing 29 12 Paul Owens 30 13 Melanie York 31 13 Tracy Yellow 32 17 Sarah White 33 18 Terry Iron 34 18 Christine Brown 35 20 John Brown 36 20 Kelvin Trenton 37 20 Damon Jones 37 rows selected
Expert Solution
steps

Step by step

Solved in 3 steps with 2 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.
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
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
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning