SQL Database Assignment Computer Science homework help

By Client

}

Nov 20, 2022

complete

m

Recent Order

Question

SQL Database Assignment Computer Science homework help

by | Nov 20, 2022

Place your order today at 15% discount

Download, unzip, and attach (to SQL Server) the sample Northwind Traders SQL Server database found in the Week 10 module area. Write the needed SQL for each of the following situations and upload your completed document when done for grading.
 
1.       Write the needed SQL to list all product names (and only product names) from the Products table that fall into the category of “condiments.” The list of products should be in ascending order.

 
2.       Write the needed SQL to update the description of the “Produce” category from “Dried fruit and bean curd” to “Dried fruit, bean curd, and soy.”

 
3.       Write the needed SQL to produce a list that will contain the following columns:
OrderID, OrderDate, RequiredDate, ShippedDate, Quantity, UnitPrice, ProductName
The list should contain only the orders that were placed in April 1997 (the entire month). The list should be in ascending order by OrderDate and then Quantity.
 
4.       Write the needed SQL to update all suppliers in Germany that do not have a fax number by setting their fax number to ‘N/A.’

5.       Write the needed SQL to produce a list with the following columns.
CustomerID, CompanyName, OrderID, OrderDate, Order Item Count
The list will contain (as the last column) the total number of order items per order. Display the results in ascending order by company name and order id. Here is an example:
 
 

 
 
6.       Write the needed SQL to delete all order information for customer “QUICK-Stop.”
 

 
7.       Write the needed SQL (DDL) to perform the following changes in the Northwind database. Your answers under each of the following should show the SQL DDL you need to perform each task.
 
7a.      Remove columns “HomePhone” and “Extension” from the Employees table.
 
 
7b.      Create a new table called PhoneNumber with the following schema (column name, data type, nullability):
 
PhoneNumber_ID               int                 not null          PK
PhoneNumber_AreaCode     char(3)          null
PhoneNumber_Prefix           char(3)          not null
PhoneNumber_Extension     char(4)          not null
 
 
7c.      Write the needed SQL DDL to set up a relationship between Employees (parent table) and PhoneNumber (child table). This is a one-to-many relationship (one employee can have many phone numbers).
 
 
7d.      Write the needed SQL DDL to create a non-unique non-clustered secondary index on the “LastName” column in the Employees table.
 
 
 
 
 

Attachments: 

northwintraderssampledatabase.zip

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code “Newclient” for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

HAVE A SIMILAR QUESTION?

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

We Guarantee you

❖ Zero Plagiarism

❖ On-time delivery

❖ A-Grade Papers

❖ Free Revision

❖ 24/7 Support

❖ 100% Confidentiality

❖ Professional Writers

Get your assignments done 100% Original, Plagiarism Free, Customized to your instructions!

How it works

1. CLICK on the ORDER NOW button.

2. Paste your instructins in the instructions box. You can also attach an instructions file.

3. Select the writer category, deadline, education level and review the instructions.

4. Make a payment for the order to be assignment to a writer.

5. Download the paper after the writer uploads it.

Will the writer plagiarize my essay?

You will get a plagiarism-free paper and you can get an originality report upon request.

 

Is this service safe?

All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades.

It’s Your First Order?

We’ll give you a discount! You get 15% off the full price. Enjoy!

Chat Now
1
Powered by Studywix
Hello! Welcome to to our whatapp support.
We offer READY solutions, HIGH QUALITY PLAGIARISM FREE essays and term-papers.

We are online and ready to help.
Verified by MonsterInsights