Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following employee and department tables. EMPLOYEE(empno, ename, designation, manager, hiredate, salary, commission, deptno) DEPARTMENT(deptno, dname, location) i. Create the above tables by properly
Consider the following employee and department tables. EMPLOYEE(empno, ename, designation, manager, hiredate, salary, commission, deptno) DEPARTMENT(deptno, dname, location)
i. Create the above tables by properly specifying the primary keys and foreign keys and enter at least five tuples for each relation.
ii. List the employees of employee table in descending order of their salaries.
iii. List the details of highest paid employee in 'SALES' department.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started