Question: Write and run following SQL queries on the database. All five tables (employee, FTemployee, PTemployee, healthplan, and enrollment) 1). Insert a new full time employee

Write and run following SQL queries on the database. All five tables (employee, FTemployee, PTemployee, healthplan, and enrollment)

1). Insert a new full time employee record into the database

2). List the names and types of all available health plans to part time employee

3). List the total number of full time employee in the company

4). List the names of the employee who are enrolled in a dental plan. You pick up a plan based on the records in your database table.

5). List the names of the employee who are enrolled in two or more health plan.

6). List the names and types of the health plan(s) most popular for full time employee.

7). List the owner of the employee table (hint: query DBA_TABLES)

8). Create a trigger that will display warning message, please consult with DBA first before delete a database table, when user attempting to delete a database table.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!