Coding Steps: Using the employees database you installed, write SQL queries that do the following (the SQL queries you write are what you will turn in for your homework):
-
Show all employees who were born before 1965-01-01
-
Show all employees who are female and were hired after 1990
-
Show the first and last name of the first 50 employees whose last name starts with F
-
Insert 3 new employees into the employees table. There emp_no should be 100, 101, and 102. You can choose the rest of the data.
-
Change the employee's first name to Bob for the employee with the emp_no of 10023.
-
Change all employees hire dates to 2002-01-01 whose first or last names start with P.
-
Delete all employees who have an emp_no less than 10000
-
Delete all employee who have an emp_no of 10048, 10099, 10234, and 20089.