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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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