Part a sql queriesuse the classicmodels database

Assignment Help Database Management System
Reference no: EM13380367

Part A: SQL Queries

Use the ClassicModels database (ClassicModels.sql) from the ITC114 Interact Resources site.

Answer the following queries from that database.

You are required to submit:
1. The appropriate SQL statements for each query, which should be copied from your SQL code in MySQL and pasted into your submission file; and

2. Screenshots of the resultant tables which are to be pasted into your submission file immediately after the SQL code for that query.

Typing or manually drawing the results is NOT acceptable.

Your SQL code should be correct for any data, not just any sample data that you create.

Write SQL SELECT statements to retrieve the following information from the ClassicModels database:

Select the product name, scale, vendor and product code for all models of classic cars built between 1948 and 1966. Display the results in order of manufacture.

Select the product name, scale, vendor and product code for all models of Vintage cars built before 1930 and with a scale smaller than 1:20. Display the results in order of manufacture.

List the South East Asian (excluding Australian and New Zealand) customers of Classic Models. Show their Customer name, city, country, sales Rep name, email address and the sales office that supports them. Order the list by country and city.

Which customers cancelled orders, how many different products were in the order and what was the reason for cancellation?

Which employees work in a European office? List their office, their full name, their job title, the name and job title of the person that they report to.

Which orders over $30,000 in value have been disputed and then later resolved? Who were the customers involved; how many different products were in their order; what was the total value of the disputed order? What was the resolution of the problem?

How many models of the Titanic have been shipped? What was the date of the first shipment and when was the last shipment sent?

Reference no: EM13380367

Questions Cloud

Tcb subsets are said to leverage purely hierarchical : tcb subsets are said to leverage purely hierarchical domains ordered by privilege.explain the relation between these
Harrison ruzzo and ullman in their paper protection in : harrison ruzzo and ullman in their paper protection in operating systems have discussed the safety problem.how do they
Consider the following system enforcing bibas strict : consider the following system enforcing bibas strict integrity policy for a software vendor.the defined integrity
Write a program in which you do the followingdefine three : write a program in which you do the followingdefine three named constants using the appropriate data typesdecnum
Part a sql queriesuse the classicmodels database : part a sql queriesuse the classicmodels database classicmodels.sql from the itc114 interact resources site.answer the
When organizations develop risk management plans they need : when organizations develop risk management plans they need to consider the value of the assets being protected and the
A security policy is a statement that partitions the states : a security policy is a statement that partitions the states of the system into a set of authorized or secure states and
Primary task responsenbspwithin the discussion board area : primary task responsenbspwithin the discussion board area write 400-600 words that respond to the following questions
As the lead software engineer for a medium-sized hospital : as the lead software engineer for a medium-sized hospital you have been asked to spearhead an effort to improve the

Reviews

Write a Review

Database Management System Questions & Answers

  Need a three-level schema architecture

Need a three-level schema architecture for the Company that provide better security also design a data abstraction

  List the name of the project with the lowest budget

List the names, ages, and salaries of managers of a user-specified sex (male or female) working in a given department. You can assume that, while there are many departments, each department contains very few project managers.2

  How to make an xml file with markup tags

Create an XML file with markup tags and some sample data to represent a list of invoices. Include the XML tags for two invoices in the list. Also, assume the invoices are created from a database whose tables are shown in the following database re..

  Create an actual web page document

Modify the XML document in Exercise 2 to include a namespace URL from which the elements of the XML document in Exercise 3 will be associated with. Make any changes to the XML document that are necessary as a result of the namespace URL inclusion.

  Analyze the data in the database and in application exercise

To complete this assignment, you will need to do data calculations. Remember to follow good database practice here by not saving your calculations as part of the data table itself (they should appear only in your queries).

  Write a prolog program that implements a family database

Write a PROLOG program that implements a family database for your family. Save it as an ordinary text file named family.pro. Your program should implement the following facts for your immediate family, grandparents, and great-grandparents.

  Part 1 true or false please explain why 1 sql structured

part 1 true or false please explain why. 1 sql structured query language is both ddl data definition language and dml

  As a dba it is vital that you understand in detail how a

as a dba it is vital that you understand in detail how a query is processed by the dbms. since team retail is using

  Design updateable database for storing customer and sales

Design an updateable database for storing customer and sales data. Explain how to deal with the problems of missing data.

  Ithis hands-on assignment you will be expected to learn

in this hands-on assignment you will be expected to learn a. how to interactively query a database by using sql

  Design tables in 3nf various codes for at least three fields

Create tables in 3NF. As you create the database, include different codes for at least three of the fields. Use sample data to populate fields for at least three records in each table.

  What amounts will be require for ordering supplies

Design a spreadsheet that will enable you to request the required funds from your team's finance officer, order supplies from the home office, and ensure dissemination of appropriate quantities to each village.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd