Question: Using the database: Write SQL queries for each of the questions below 1)Find the artists that have tracks in the 'Rock' genre. Print the Id,

Using the database: Write SQL queries for each of the questions below

Using the database: Write SQL queries for each of the questions below1)Find the artists that have tracks in the 'Rock' genre. Print the Id, and name of such artists. Number of rows returned in the result = 51

A)Find the artists who have recorded more than 10 albums. Print the Id, and name of such artists. Also print the number of albums for such artists. Number of rows returned in the result = 3

B) Find the customers who are served by support representatives based in the same State as the customer. Print the first and last name of the customer and the support representative, and the State in which they are located. Number of rows returned in the result = 1

TEE Track Trackld T Album Artist Artistld Name MediaType MediaTypeld Name Tite Artistld Albumld MediaTypeld Genreld Composer Milliseconds Genre Genreld Name Playlist Playlistd Name PlaylistTrack Playlistic Trackld Bytes UnitPrice Employee Employeeld LastName FirstName InvoiceLine InvoiceLineld Invoiceld Trackld UnitPrice Quantity Customer Customerld FirstName LastName Company Address ReportsTo BirthDate HireDate Address City State Country PostalCode Phone Fax Email Invoice Invoiceld Customerld InvoiceDate illingAddress BillingCity BillingState BillingCountry State Country PostalCode Fax SupportRepld Total

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!