You are on page 1of 1

display all details of male employees.

select * from empdet where gender = "male";

display employee name and dept of city mumbai.

display average salary.

display all details of marketing dept with salary more than 50000.

display employee name, city and dept details except the records of dept IT.

display all records of employees having salary between 50000 to 70000.

display employee id, name and dept having age more than 25.

display female employee names and dept of city mumbai and delhi using IN.

display maximum age of an employee.

modify dept HR to Sales and city mumbai to jaipur for the record of employee
saksham using ID.

delete records of employees where salary is less than 45000.

You might also like