Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions

Question

1. Identify what positions are included in the plan.

Answered: 1 week ago