Mysql Question Dec2023
Mysql Question Dec2023
(d) For record with ID 4 update record with Last_Name, User_ID and Salary.
(f) Modify the salary and increase it by 1000, for all who get salary less than 6000.
Qu.2 Using SQL statements in MySQL, create the tables identified bellow in the following
order.
Qu.3 Consider the following Table named „empl‟ and Write SQL commands from (a) to (n)
(a) Display all the records from table empl.
(b) Display EmpNo and EName of all employees from the table empl.
(c) Display employee name, salary, and department number who are not getting
(d) Display employee number, name, sal*12 as Annual salary whose commission is not
(g) List the details of all clerks who have not been assigned department as yet.
(h) Display the details of employees whose name have only four letters.
(i) Display the details of all employee whose annual salary is between 25000 to 40000.
(k) List the employees who earn more commission than their salaries.
(l) Display name, job title and salary of employee who do not have manager.
(m) Display the name of employee whose name contains „A‟ as third letter.
(n) Display the name of employee whose name contains „L‟ as any letter.