To demonstrate your ability to analyze a business scenario and

 

To demonstrate your ability to analyze a business scenario and create a “real world” database

Assignment: Create a database for a small e-commerce web site. As a minimum, it should include the following entities:

  • Customer – name, address, city, state, zip, etc.
  • Inventory – description, category, quantity on hand, unit price, etc.
  • Order – date, payment info, etc.
  • OrderDetail – typical shopping cart line items
  • Supplier – vendor info to include MainPhone, SalesPhone, ShippingPhone, and BillingPhone
  • StateFees – list of 50 states and the sales tax and shipping costs

Notes:

  • Inventory and Supplier start out as a N:M, so you’ll need to fix that
  • The fee info is: 1) Charge 6.25% tax in Texas 2) Charge 8.25% tax in California, 3) All other states have 0% tax…. and 4) Charge $4 to ship to TX, LA, OK, NM, 5) Charge $8 to ship to AK and HI, and 6) Charge $6 shipping to all other states.
  • Real databases do not always allow you delete records, so please account for this in your table design
  • Use the database diagram to ensure that there are no “orphan” tables

As a minimum, You must create Views, Table Functions, or Scalar Functions for the following:

  • query to produce the extended price (a single value) for a given Order and a given Line Item
  • query to show all order activity details for a given Customer
  • query to show the total cost (cost of items + tax + shipping) for a given order
  • query to show the total sales (in $) for each month
  • query to show the total sales (in $) for each category of product
  • create a view to demonstrate the use of each of the functions above
  • You need to have enough sample data in your database to be able to demonstrate that each query works

Notes: You must provide an MDF file from SQL Server 2017… not a later version!

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Watch the PBS Documentary War and Peace,episode 3 Moves into

Watch the PBS Documentary War and Peace,episode 3 Moves into the World War II years and those that follow, as Latino Americans serve their new country by the hundreds of thousands — but still face discrimination and a fight for civil rights back in the United States. Post a response

Please answer original forum wit a minimum of 250 words

Please answer original forum wit a minimum of 250 words and respond to both students separately with a minimum of 100 words each page 1 Original Forum with references  page 2 Micheal response with references  page 3 Joshua response with references  Original Forum  This week we discussed ways to market

UJ Symptomatic Impacts & Effects of Substance Abuse Nursing Assignment Help

research and then communicate through a presentation the following 2 elements for the chosen health topic are Substance abuse ( students or families)..The presentation should include a minimum of one slide for each element: Element*****Symptomatic impact of the health issue for individuals Element****** Impact of the health issue on academic

This criterion is linked to a Learning OutcomeWhat is it

This criterion is linked to a Learning OutcomeWhat is it about? Why is it so interesting to you? This criterion is linked to a Learning OutcomeWho are the stakeholders? (e.g. customers, employees, investors, competitors, government) This criterion is linked to a Learning OutcomeWhich concept(s) in the textbook does this relate

The Iliad – Premium Paper Help

Premium Paper Help is a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.

Infectious Disease Short Paper Assignment Rubric

Purpose Infectious disease occurs worldwide and must be addressed just as chronic disease is approached. This assignment will offer the opportunity to explore the various communicable diseases, the epidemiological background data as well as the implications of these infections. Course Outcomes Through this assessment, the student will meet the following

Assignment content: Throughout this course, you have been using different

Assignment content:   Throughout this course, you have been using different analysis strategies to determine best practices for developing your business plan. It’s time to develop a strategic plan that will help you determine where your business is now, where you want to take it, and how you will get

Education and Income Inequality

Read Steven Strauss’ article, The Connection Between Education, Income Inequality, and Unemployment (Links to an external site.)Links to an external site.. In your Final Paper, you should address the following based on the information presented in the article and other research: •Describe how a country can measure its income inequality.

Class, It was only June 29th, 2007 when the first

Class, It was only June 29th, 2007 when the first iPhone came out, but it feels like we have been living with these devices and their apps for much longer. Smartphones have created a new way of living. We are always connected, have instant access to information, instant directions to

Imagine that you work for a company directly related to

  Imagine that you work for a company directly related to your major. Your company is preparing for expansion and your boss, Ms. Smith, has been asked to design an orientation program for new employees. As part of this process, Ms. Smith has asked you to do some research into

Water is a highly essential nutrient; Proper hydration and water

Water is a highly essential nutrient; Proper hydration and water balance are critical for health. Many athletes consume sports drinks when working out and exercising.  Take a look at the nutrition label on a sports drink, such as Gatorade® or Powerade®. 1) Using the label along with your text book,

To support your work, use your course and text readings

  To support your work, use your course and text readings and also use outside sources. As in all assignments, cite your sources in your work and provide references for the citations in APA format. Forecasting Select a product that you can purchase at a grocery store or at a

Graphic card

You will explain to a non-technical audience how something works. You will choose an object or a process with which you are familiar. You will describe this object or process to an audience that has little or no background of the subject. This approach will help prevent you from writing

1) Identify and explain the three types of classifications for

1)  Identify and explain the three types of classifications for investments in debt securities.  2)  Summarize how unrealized holding gains and losses should be reported for debt investments classified as trading, available-for-sale, and held-to-maturity.  Answer:   Trading securities are debt securities that are bought and held for sale in the

Based on the community you researched for the assignment in

 Based on the community you researched for the assignment in Unit 2, what community problem is currently being addressed or could benefit from being addressed through interagency collaboration and coordination? While you may be personally or professionally aware of this community’s social problem, you need to support your choice through local and reputable