Question: B . Consider the emp and dept tables from a part of the relational database schema of Company database given below, and answer the following
B Consider the "emp" and "dept" tables from a part of the relational database schema of "Company" database given below, and answer the following questions:
marks
Emp empno ename, job, hiredate, sal, comm, deptno
dept deptno dname, loc
Write the SQL statement to display all employees having salary less than $ such that the records are listed by ascending order according to the salary?
Write the SQL statement to display employee number, name, job, and salary of all employees whose employee's name starting with letter A
We want to increase the salary of employee "Turki" with $ and he will transfer to department number Write the SQL statement to modify Turki s record?
Write the statement to display the total, maximum, and minimum salary for each department?
Write the Relational Algebra statements to retrieve the employee's name, job, salary, and department name for all employees having salary greater than $ using Join operation? Pls solve it all with steps
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
