ЕMP EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO Dept DEPTNO DNAME LOC - MGR field is foreign key references empno - DEPTNO in emp table is foreign key references deptno in dept table. - Using your Apex account (http://apex.oracle.com), upload the script file (scott.sql) that creates emp-dept tables and try to do the following: 1. Insert a new employee info into emp table with the following info: o empno:4000. o name: Your name o hiredate: today date o deptno:null 2. Give for the employees who work as CLERK a commission equals 5% of their salary. 3. Retrieve the names of employees who don't take commission and hired before 1985. 4. Retrieve the names of employees, and their hiredates ordered from the newest hired employee to the oldest hired one.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
ЕMP
EMPNO
ENAME
JOB
MGR
HIREDATE
SAL
COMM
DEPTNO
Dept
DEPTNO DNAME
LOC
- MGR field is foreign key references empno
- DEPTNO in emp table is foreign key references
deptno in dept table.
- Using your Apex account (http://apex.oracle.com),
upload the script file (scott.sql) that creates emp-dept
tables and try to do the following:
1. Insert a new employee info into emp table with the
following info:
o empno:4000.
o name: Your name
o hiredate: today date
o deptno:null
2. Give for the employees who work as CLERK a
commission equals 5% of their salary.
3. Retrieve the names of employees who don't take
commission and hired before 1985.
4. Retrieve the names of employees, and their
hiredates ordered from the newest hired employee
to the oldest hired one.
Notes:
• Write the question number for each answer.
• Save your answers on notepad as .sql file and
upload it on “Assignment3_Upload" link.
Transcribed Image Text:ЕMP EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO Dept DEPTNO DNAME LOC - MGR field is foreign key references empno - DEPTNO in emp table is foreign key references deptno in dept table. - Using your Apex account (http://apex.oracle.com), upload the script file (scott.sql) that creates emp-dept tables and try to do the following: 1. Insert a new employee info into emp table with the following info: o empno:4000. o name: Your name o hiredate: today date o deptno:null 2. Give for the employees who work as CLERK a commission equals 5% of their salary. 3. Retrieve the names of employees who don't take commission and hired before 1985. 4. Retrieve the names of employees, and their hiredates ordered from the newest hired employee to the oldest hired one. Notes: • Write the question number for each answer. • Save your answers on notepad as .sql file and upload it on “Assignment3_Upload" link.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY