Data Manipulation Homework 3

Queries

1.Find the average album item price for all album items by The Beatles.

2.List all the albums items that have a price greater than the average price for an album item.

3.Update the price of all album items for Jay Zs The Blueprint album with a 20% discount on price.

4.Delete all album items for the artist The Smiths, who have two albums in the database, Meat is Murder and The Queen is Dead. (Hint: You need to use IN with the WHERE clause).

5.List the album artist, album name, album year, and album item price for all albums for years between 1980 and 1990.

6.List the album artist, album name, album year, and the average price of album items grouped by the album name.

7.First, delete all album items between 1990 and 2000 (this will create some holes in the data). Then, list the album name, album year, album item price, and album item quality for all albums and album items, even if the album has no album items. (Hint: A left or right outer join is necessary)

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.