Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create separate select statements to query data to answer each question. Be sure to place a single-line comment before each question to identify the question
Create separate select statements to query data to answer each question. Be sure to place a single-line comment before each question to identify the question being answered.
- The owners of DJ's on Demand would like a query that returns of all items in their D_CDs table with the following column headings:
- Inventory Item, CD Title, Music Producer, and Year Purchased
- Write a query to return the title of the oldest recording in the D_CDS table. Your query should return only 1 row.
- Write a query to return the producer information from the D_CDS table for the CD titled "Carpe Diem".
- The manager of DJ's on Demand would like a query of all the CD titles and years of CD's that were produced by "Old Town Records".
- Write a query that will list the titles and years of all the DJ's on Demand's CD's that were NOT produced in the year 2000.
- Write a query to display the location type and comments for all DJ's on Demand venues that are "Private Home".
- Write a query to a list of all information for DJ's On Demand track listings for CD Number 91.
- The manager of DJ's on Demand would like a list of partners (first name, last name), order the output by last name.
- Write a query that lists the titles of songs in the DJ's on Demand inventory that are type code 77, 12, or 1; order by title.
- Write a query that will return all the DJ's on Demand CD information (title, year) ordered by year and title.
- Write a query to list the DJ's on Demand songs ordered (descending) by title. Use the alias "Our Collection" for the song title.
- Write a query to return a DISTINCT list of producers for the CD's DJ's on Demand has in their collection.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started