Construct an sql statement to find the products

Assignment Help Database Management System
Reference no: EM133802111

Database Design

Tutorial 5

In this tutorial, we will focus on using SQL statements to perform data selection within the Northwind database, which was provided in Tutorial 3.

Task 1

Construct an SQL statement to find the total number of products in stock for each category

Task 2

Construct an SQL statement to retrieve a list of all product names along with the corresponding suppliers, this list is sorted by product names in ascending order. Get Personalised Assignment help Now!

Task 3

Construct an SQL statement to display a list of city names along with the number of customers in each city, sorted in descending order based on the number of customers.

Task 4

Construct an SQL statement to find the products that have the highest price within their categories. Display the product name, category name, and unit price.

Task 5

Construct an SQL statement to display the employee ID, first name, last name, and the number of territories he/she manages, with the results sorted by the number of territories in descending order.

Note: For Lab Exercise 1, you are required to submit a Microsoft Word file that includes the following:
A cover page
Solutions for 5 tasks, with each solution including:
- The SQL statement (in plain text) with a brief description of how it works
- A screenshot showing the results of executing the SQL statement

Reference no: EM133802111

Questions Cloud

What evidence does author use to present their point of view : What evidence does the author use to present their point of view? Identify one writing strategy (rhetorical mode) the author uses to make their argument?
Current nursing policies and issues : Stay Informed and Educated: Keep up-to-date with current nursing policies and issues.
Age-related physiological and psychological symptom : Formulating diagnoses according to DSM 5-TR based on assessment data Differentiating between normal/abnormal age-related physiological and psychological symptom
What are the anticipated outcomes for your picot question : What are the anticipated outcomes for your PICOT question? How do the outcomes of the four articles you chose compare to your anticipated outcomes?
Construct an sql statement to find the products : Construct an SQL statement to find the products that have the highest price within their categories. Display the product name, category name, and unit price
Medical information and planning communication agenda : Reviews the patient's medical information and planning the communication agenda which may require a family meeting and follow-up conversations
Patient preference for family involvement : Determines who is the right person to talk to about end-of-life issues and the patient's preference for family involvement
Patients with end-stage life-threatening illness : Hospice services are an option for patients with end-stage life-threatening illness. These services are covered by Medicare, Medicaid,
Critically evaluate the processes and outcomes : IMA7001 International Marketing Management, University of Bolton - Critically evaluate the processes and outcomes in the implementation of the global marketing

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