Order For Similar Custom Papers & Assignment Help Services

Fill the order form details - writing instructions guides, and get your paper done.

Posted: May 1st, 2022

Use CREATE statement to create a table Client (ClientName, phone).

a1. Use CREATE statement to create a table Client (ClientName, phone). Note ClientName is primary key and you must define this primary key in CREATE statement. Show the statement.

a2. Use INSERT statement to add two client records into Client table (make up your own data for clients). Show the INSERT statements and use select statement to show the table contents.

a3. Use ALTER statements to add a foreign key ClientName as a constraint into the Project table. So that table Client has a one to many relationship with table Project. Note, you need to use TWO ALTER statements , one for adding attribute ClientName into Project table; one for adding foreign key constraint into Project table. Show the ALTER statements.

a4. User ALTER statement to Add an attribute Project_Count into Employee table (data type to be integer, refer to the data type used for Workon table (hours) in loadDB file).

a5. Use UPDATE statement to fill the value of Project_count of each employee record in Employee table. Namely, add the count of total number of projects an employee works on into Project_count in Employee table for each employee. Hint: you need a subquery in Update statement as follows

Update _________

Set _____ = (select count (pid) …… )

Show the contents of Employee after update.

a6 Create a table Promotion_list (EMPID, Name, Salary, DivisionName).

a7 Load Promotion_list with the information of employees who make less than company average and work on at least 2 projects. (Hint use INSERT INTO SELECT statement ). Show the code and result.

Part B

b1. Increase the budget of a project by 5% if there is a manager working on it .

b2. List the name of employee who work on a project sponsored by his/her own division. (corelated subquery)

b3. List the name of project that has budget that is higher than ALL projects from ‘marketing’ division.

b4. List the name of project that has budget that are higher than ALL projects from ‘chen’s division.

b5. List the name of employee who work on more projects than his/her manager.

b6. List The name of division that has employee(s) who work on other division’s project . (corelated subquery)

attachment
loadDB.sql

——

a1. Create a table Client with the CREATE statement (ClientName, phone). ClientName is the main key, and it must be defined in the CREATE statement. Display the claim.

a2. Insert two client records into the Client table using the INSERT command (make up your own data for clients). Show the INSERT statements and the table contents with the select statement.

a3. Add a foreign key ClientName as a constraint to the Project table using ALTER statements. So that table Client has a one to many relationship with table Project. Note, you need to use TWO ALTER statements , one for adding attribute ClientName into Project table; one for adding foreign key constraint into Project table. Show the ALTER statements.

a4. User ALTER statement to

Order | Check Discount

Tags: free printable nursing study guides, nursing study guides free, nursing study guides worksheets, nursing study hub, nursing study material

Assignment Help For You!

Special Offer! Get 20-25% Off On your Order!

Why choose us

You Want Quality and That’s What We Deliver

Top Skilled Writers

To ensure professionalism, we carefully curate our team by handpicking highly skilled writers and editors, each possessing specialized knowledge in distinct subject areas and a strong background in academic writing. This selection process guarantees that our writers are well-equipped to write on a variety of topics with expertise. Whether it's help writing an essay in nursing, medical, healthcare, management, psychology, and other related subjects, we have the right expert for you. Our diverse team 24/7 ensures that we can meet the specific needs of students across the various learning instututions.

Affordable Prices

The Essay Bishops 'write my paper' online service strives to provide the best writers at the most competitive rates—student-friendly cost, ensuring affordability without compromising on quality. We understand the financial constraints students face and aim to offer exceptional value. Our pricing is both fair and reasonable to college/university students in comparison to other paper writing services in the academic market. This commitment to affordability sets us apart and makes our services accessible to a wider range of students.

100% Plagiarism-Free

Minimal Similarity Index Score on our content. Rest assured, you'll never receive a product with any traces of plagiarism, AI, GenAI, or ChatGPT, as our team is dedicated to ensuring the highest standards of originality. We rigorously scan each final draft before it's sent to you, guaranteeing originality and maintaining our commitment to delivering plagiarism-free content. Your satisfaction and trust are our top priorities.

How it works

When you decide to place an order with Dissertation App, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went. You can read other clients’ testimonials too. And among many options, you can choose a favorite writer.