Question: Write SQL queries for the following 1. Create all tables, add all needed constraints (primary, foreign, check) (3 points) 2. Insert data into all tables

Write SQL queries for the following 1. Create all tables, add all needed constraints (primary, foreign, check) (3 points) 2. Insert data into all tables (3 points) 3. List name of all employees whose name ends with a. (1 points) 4. Select the name of the employee who is department head of HR. (1 points) 5. Select the name and email of the Department Head who is not Permanent. (1 points) 6. How many project started and finished in the same year. (1 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
