All our Essay orders are Original, and are written from scratch. Try us today at 30% off

Computer Assignment 4 And Final Project

CS-315 – Assignment IV (10 points)
Task Description: Consider the following relations for a company:
Department (Did: integer, Dname: string, location: string)
Employee (Eid: integer, DepartmentID, integer, Ename: string, Erank: integer, salary: real)
Project (Pid: integer, DepartmentID: integer, Pname: string, budget: real, start year: integer)
The “DepartmentID” fields in both Employee and Project are foreign keys referencing the “Did” field of the Department table.
Task1 (2 points) – Through MySQL workbench, use SQL to create a new database (named MyCompany) then use it to build the relations (tables) mentioned above. Place the constraints (e.g., default values) you find appropriate. Then use SQL, insert (random but meaningful) data records in the above tables.
• Create 2 different departments (named: Marketing and Human Resources) • Create at least 3 employees per department (6 employees in total). A rank of an employee is an
integer value between 1 and 3. • Create at least 4 different projects per department (8 projects in total). The start year is between
2018 and 2020.
Task2 (8 points – 2 point/query): Using SQL, develop and execute the following queries:
1- Display the average salary of employees working in the “Marketing” department. Give appropriate name to the output.
2- Display the rank value and the average salary of employees per rank.
3- Display names and ids of employees from the “Human Resources” department with salaries >= average salary of employees from the “Marketing” department.
4- Display employees by name working in the “research” project with salary between 70,000 and 100,000. Sort the results in descending order with respect to the employees’ rank.

1. For task 1, take clear screenshots to the queries you developed to create the tables.
2. For task 1, after inserting the records, take a clear screenshot for the content of each table – as follows:
SELECT * FROM theTableName;
No need to take screenshot to the developed “insert” queries.
3. For task 2, for each query, take a clear screenshot for both the query you developed as well as the output.
4. This is an individual assignment — Cheating/plagiarism will be checked and will receive zero.
5. Submit ONE PDF file directly to the folder titled Assignment 4 under the D2L Assignments tab (other formats will not be accepted). Don’t submit .zip, .ppt, .pptx, .doc, .docx file.
6. The assignment is due 10:00pm – November 14th. You can submit your assignment, within 24 hours after this due date, to be graded out of 50% of the assignment’s grade. After this grace period your late submission will not be accepted.

The post Computer Assignment 4 And Final Project first appeared on Assignment writing service.



Mh! not bad…

The worst part ever was to find my deadline postponed for 1 hour ! They couldn`t finish the essay within...

No Complaints So far Guys

Yeah …I really like all the discounts that they offer, the prices are very flexible. Plus they have different promotions...

Comes through every time

I have used this website for many times, and each time they found perfect writers for me and they produce...

Best Service

The book review I asked for is so amazing! Endless thanks to your team for completing my review and for...


They look cool and trustworthy enough to me. I gather they made discounts as their prices are quite affordable if...

Great Job

Great job! Those were you, guys, who made my coursework perfect in time according to all my requirements. I will...

CLICK HERE  To order your paper

About Scholarfront Essay writing service

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for upto 20% off in their first Order. Our payment method is safe and secure.

 CLICK HERE to Order Your Assignment



Let your paper be done by an expert

Custom Essay Writing Service

Our custom essay writing service has already gained a positive reputation in this business field. Understandably so, all custom papers produced by our academic writers are individually crafted from scratch and written according to all your instructions and requirements. We offer Havard, APA, MLA, or Chicago style papers in more than 70 disciplines. With our writing service, you can get quality custom essays, as well as a dissertation, a research paper, or term papers for an affordable price. Any paper will be written on time for a cheap price.

Professional Essay writing service

When professional help in completing any kind of homework is all you need, is the right place to get it. We guarantee you help in all kinds of academia, including essay, coursework, research, or term paper help etc., it is no problem for us. With our cheap essay writing service, you can be sure to get credible academic aid for a reasonable price, as the name of our website suggests. For years, we have been providing online custom writing assistance to students from countries all over the world, including the United States, Canada, the United Kingdom, Australia, Italy, New Zealand, China, and Japan.