Question: This query works but is doing something unnecessary. Suggest a way to improve the way that this query is written, so it is no longer

 This query works but is doing something unnecessary. Suggest a wayto improve the way that this query is written, so it is

This query works but is doing something unnecessary. Suggest a way to improve the way that this query is written, so it is no longer doing the unnecessary thing. Explain why your suggestion helps.

-- Get all of the product models that are produced by B.

SELECT DISTINCT model FROM Product WHERE maker = 'B';

Product(maker, model, type) PC (model, speed, ram, hd, price) Laptop (model, speed, ram, hd, screen, price) Printer (model, color, type, price) Laptop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!