Display the list of products that should be re-order

Assignment Help Database Management System
Reference no: EM133569906

Task 1: Using Northwind Database, write SQL statements for the following data retrieval operations.

Note: You may need to refer to the schema for the exact field names while framing the queries to the following questions. While framing the question, the words ‘code', ‘number' or ‘ID' may have been synonymously used. For instance, ‘Customer Number' when used may refer to a field called CustomerID. Similarly, wherever the word ‘name' is used, appropriate interpretation may be needed based on the schema - for instance if ‘customer name' is required to be printed, you may need to retrieve CompanyName field from the Customers Table; likewise, when ‘employee name' is required (without any further qualification, you may retrieve the lastname field of Employees table.

Exercise
List all details of Customers with the output presented in descending order of Company names.

Use Alias for each few columns of Customers and display Customers details.

Using "BETWEEN" Display product details having inventory of more than 100 and less than 120.

Display all details of customers having contact name starting with letter ‘r' or ending with ‘er'

Display the list of products that should be re-order.

List out only 5 percentage of total records from customers table.

Retrieve the Customer IDs and contact names of all customers who have yet to order any products.

Display product details which are ordered atleast once and having inventory of more than 100

List CustomerID and Company Name, those had orders in past having shipment postal code 50739.

Retrieve the details of all Products' having the word "lager" in the product label.

List all Orders (Order number and date) of the orders made by the Customer "Thomas Hardy". Note:
Thomas Hardy is the name of the contact person.

 

Reference no: EM133569906

Questions Cloud

Is it ethical to use animals in scientific experiments : The spotlight shines brightly on the stage, casting a challenging question: Is it ethical to use animals in scientific experiments?
Retrieve the last two characters from the employees : Retrieve the last two characters from the employees' last names. Retrieve five characters from the employees' last names, starting at the second character
What tissue protects the human trachea : What tissue protects the human trachea and bronchial trees from collapsing during the pressure changes of breathing? Why don't the bronchioles have this?
Find out all the orders placed by all the customers : Retrieve all details of Orders administered by persons who hold the designation Sales Representative and shipped by United Package
Display the list of products that should be re-order : List out only 5 percentage of total records from customers table. Retrieve the Customer IDs and contact names of all customers who have yet to order
List all details of all shippers that the company is dealing : List all details of all Shippers that the company is dealing with. List the all employees - you need to display only the details of their First Name
What is negative pressure breathing : What is negative pressure breathing? Which main muscle groups are involved in inhalation and exhalation in humans?
Write SQL statements for the data retrieval operations : List all details of Customers with the output presented in descending order of Company names. Use Alias for each few columns of Customers and display Customers
Why its better to take a probiotic with few-only one strain : Why it's better to take a probiotic with few or only one strain?

Reviews

Write a Review

Database Management System Questions & Answers

  Discuss the advantage of implementing a distributed database

Research online, and discuss the advantages and disadvantages of implementing a distributed database management system (DDBMS).

  Characteristic of a database that has data redundancy

Explain one characteristic of a database that has data redundancy. Note: Redundancy in our context is not a good thing

  How referential integrity will be achieved

Prepare database tables with appropriate field-naming conventions. Then, identify primary keys and foreign keys, and how referential integrity will be achieved.

  Create views that join data between the two database

Develop DDL to create views and queries to access those views. Create views that join data between the two database servers to simulate data distribution.

  Create a database called company

Create a database called COMPANY consisting - What are the populations of cities which have received shipments from customers with revenue between $1 million

  Determine the architecture of the system

Design project is to demonstrate student's ability to apply the knowledge learned in this course to a real-world project

  Decompose grade report into a set of 3nf relations

Draw a dependency diagram to show the functional dependencies in the relation and decompose GRADE REPORT into a set of 3NF relations.

  Prepare a research topic on big data

Diagrams and tables must be numbered and labeled, and close to the first reference in the text - The paper should adhere to University writing standards pages in length, excluding title page, abstract, bibliography, table of contents, or any graphic..

  Create a linked table in database by importing the workbook

Create a linked table in the database by importing the workbook named a08c1Customers.xlsx. Use the first row of the Customers1 worksheet as column headings and accept all other default options.

  Allows users to view and register for classes offered

Users will be able to register in order to use the system. If the user is register they will be prompted to enter their username and password to navigate through the system.

  Develop a context diagram and system level data flow diagram

Develop a Context Diagram and a System Level Data Flow Diagram , make sure you properly identify all the components. Develop an ERD as well making sure you properly label the Entity name.

  What do you understand by normalization

What do you understand by normalization and Find all cities of residence of all employees who work directly for STC

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