Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using SI Schema Instructions List of Customers Interested in Different Make: Using SET operations, display a list of customers that are interested in a car

using SI Schema
Instructions
List of Customers Interested in Different Make:
Using SET operations, display a list of customers that are interested in a car (prospect table) of any different make which they already own.
Total Labour and Parts Cost:
Using a single SELECT statement, generate a list of total labour and parts cost of servicing Land Rover and BMW cars. The query should show subtotals for each make and for each model. Your query should produce no grand total.
Highest and Lowest Car Sale Prices:
Using analytic functions, display the highest and the lowest car sale prices for each make in the SI database and rank them based on the highest price in descending order.
Customer Who Bought the Third Most Expensive Car:
Using analytic functions, return the name of the customer who bought the third most expensive car.
Car Price and Difference from Average in Burlington:
For each customer from Burlington, return the price of the car they bought and the difference between that price and the average price of the cars sold in that city.

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

3. How has e-commerce transformed marketing?

Answered: 1 week ago