Find albums by genre released after a given year

Assignment Help Computer Engineering
Reference no: EM132088447

Part a. Design a MySQL database to support a Spotify-like media cataloguing application. The application should catalogue music, including artists, their albums, songs in each album, playlists, users that created/shared/played various playlists, etc. The conceptual model describing the application's data is shown below.

Your database must store data described by every entity, relationship, and attribute type shown in the conceptual data model. Your database schema must be in the 3NF.

Your answer should consist of the CREATE TABLE statements that represent your database schema.

Assume the following about the application: every album was released by some artist. Every song belongs to some album, every album was released by an artist, and every playlist was created by some user. In other words, for each 1:n relationship type, assume mandatory participation for the entity type on the "n" side.

Part b. Write the following queries in SQL:

Q1. Find albums by a given performer. Order results by year (DESC). Display all the information about each album (its id, year, title, etc), and performer (i.e. country and style).

Q2. Find albums by genre released after a given year. Order results by year (DESC). Display all information about each album.

Q3. Find albums of a given genre released in a given country after a given year. Order results by year (DESC).

Q4. Find playlists by a given album.

Q5. Find a user who created a given playlist.

Q6. Find users who shared a given playlist.

Reference no: EM132088447

Questions Cloud

Deciding which queue acustomer enters : Identify which of the authors' classes used for their Average Waiting Time (AWT) model is responsible for each of the seven items identified in #42.
Create a new function randomadd : Create a new function randomAdd(), which adds nodes in random places in the tree, and use that function instead.
Energy performance and thermal comfort : ENEM20003 - Thermofluids Engineering Applications - Development of strategies for efficient and effective energy management in buildings is essential
Write a program that multiplies two square arrays : A function that has an integer as a parameter and returns a pointer to square array of integers (i.e. both dimensions should be equal).
Find albums by genre released after a given year : Find albums by genre released after a given year. Order results by year (DESC). Display all information about each album.
What are the possible consequences if you fail to identify : What does a physical DFD represent? How do data stores in the physical DFD differ from the data stores in the logical DFD? Give an example.
Define autoimmunity and immunodeficiency : Define autoimmunity and immunodeficiency. Which of these conditions is likely to occur in a HIV positive person
Describe the layers of the small intestines : Please Describe the Layers of the Small Intestines please be specific to include how such complex structure of the intestinal wall ensure
Compute the sha-256 checksum of the ms-word file : Mallory builds a WiFi jammer using plans she found on the Internet and jams wireless signals over a large part of her apartment building.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd