Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write SQL queries to update tables and extract the following information. All tables are below. Query5. Retrieve all the products (along with selling price)

Please write SQL queries to update tables and extract the following information. All tables are below.

Query5. Retrieve all the products (along with selling price) sold in Walgreens, ordered by selling price.

Query6. List the name(s) of the brands that make more than one product.

Query7. List the name(s) and selling price of the product(s) which brand is under the exclusive license.

Query8. List the name(s) of the brand(s) which make at least one Supermarket product and which contract year is after 2012.

Query9. List the name(s) of the vendorwhich has selling price lower than 10 dollarsforat least one productin supermarket category.

Query10. List the name(s) of the products and the highest selling price for each product.

Query11. Group and count the products by their category for which their brand is specifically under the non-exclusive license.

Query12. List the names of the products and ordered them by their brands contract year. image text in transcribedimage text in transcribedimage text in transcribed

product id (PK) category (Not Null) brandproduction_cost (FK) name (Not Null) Toothpaste Supermarket 1 Multivitamin Supermarket Supermarket Department Shampoo Jacket T-shirt Supplements Aloe Popcorn Department5 Pharmacy Pharmacy 6 10

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

LO4 Specify how to design a training program for adult learners.

Answered: 1 week ago