Skip to content

SQL assignment 1

eshan3101 edited this page Mar 27, 2026 · 1 revision
  1. Select all columns from the EMPLOYEES table.
image

2.Retrieve the first and last names of all employees. image

3.Show all employees whose salary greater then 4000 or less then 14000. image

4.List employees whose salary is greater than 5000. image

5.Find employees who work in department 90. image

6.Display employees whose job_id is 'MAN'. image

7.List employees without department image

9.Get employees without a manager. image

10.Select the employees whose last name start with ‘L’. image

11.Select job IDs from employees table. image

12.Find the employees in department 50. image

13.List employees with first names starting with 'A'. image

14.Find employees whose names contain the letter 'e'. image

15.Display employees having First Name start with ‘P’ and working in department 80. image

16.Show the full name (first + last name) of each employee. image

17.List employees where the salary is between 3000 and 6000. image

18.Show the employee’s first name who receive a commission. image

19.List employees who don’t receive a commission. image

Clone this wiki locally