Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Feel free to use Access QBE (query by example) if you nd it easier to do so, though what you have to show is the

image text in transcribed

Feel free to use Access QBE (query by example) if you nd it easier to do so, though what you have to show is the SQL: if you use QBE, you can go to the SQL view and nd the equivalent SQL query generated by Access. It may not be possible to implement some of the queries in QBE. Feel free to create views or to save queries (to help answer a more complex query) or to create other tables (eg: using the INTO command ) if that helps you. If you are using views or subqueries, show the SQL to create the views and subqueries, and show the tables for these views or subqueries.

below is all database tables

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

(e) What is the average cost of a part in the class "AP" (f) List the names of the parts which have been bought by at least two different customers (g) Find the names of the customers who have bought a Dryer but have not bought any other part. (h) Get a count of the number of warehouses which supply at least 4 parts. (i) From among the customers who placed at least 2 orders, find the name of the customer with the largest balance. (e) What is the average cost of a part in the class "AP" (f) List the names of the parts which have been bought by at least two different customers (g) Find the names of the customers who have bought a Dryer but have not bought any other part. (h) Get a count of the number of warehouses which supply at least 4 parts. (i) From among the customers who placed at least 2 orders, find the name of the customer with the largest balance

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

Does the research have to be based in an organisation?

Answered: 1 week ago

Question

Are implementable recommendations a requirement for the project?

Answered: 1 week ago