Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer the following question by executing SQL statements: Question 5: Show the number of customers assigned to each of the employees. Question 6: From the

image text in transcribed

Answer the following question by executing SQL statements:

Question 5:

Show the number of customers assigned to each of the employees.

Question 6:

From the invoices, show which country's customers spent the most on the tracks.

Question 7:

Show the top 3 artists based on their track sales.

Question 8:

Show the track name names, album name, artist name and genre of all the artist whose names contains last letter from your artist name.

Artist Album 3.00 MediaType B 100-MediaTypeid Name Artistid Name Albumid Title Artistid Track 3-02 TrackId Name Albumid MediaTypeId Genreid Composer Milliseconds 00 Bytes UnitPrice Genre Playlist 1000 Genreid -3-00 PlaylistTrack Playlistid TrackId 7 Playlistid Name Name InvoiceLine 3 InvoiceLineId Invoiceld Trackid UnitPrice Quantity 002 Employee Employeeld LastName FirstName Title Reports To BirthDate HireDate Address City State Country PostalCode Phone Fax Email Customer Customerid FirstName LastName Company Address City State Country PostalCode Phone Fax Email SupportRepid 3-001 Invoice Invoiceld Customerid InvoiceDate BillingAddress Billing City BillingState Billing Country BillingPostalCode Total

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2022 Grenoble France September 19 23 2022 Proceedings Part 4 Lnai 13716

Authors: Massih-Reza Amini ,Stephane Canu ,Asja Fischer ,Tias Guns ,Petra Kralj Novak ,Grigorios Tsoumakas

1st Edition

3031264118, 978-3031264115

More Books

Students also viewed these Databases questions