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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started