Question: Write SQL statements to do the following: Find a list of all information on Electronica CDs [Output 5] Find a list of the

Write SQL statements to do the following:

  Find a list of all information on Electronica CDs [Output 5]

  Find a list of the titles of all CDs that cost less than 10.00 [Output 6]

  Find a list of CD titles and prices where the title contains a space [Output 7] 

More complex conditions can be created using the operators AND, OR and NOT. Brackets can be used to control the order of evaluation. For example:

 SELECT * FROM CD WHERE (cdPrice < 10.00) AND NOT (cdGenre=’Rock’);

 Will return a list of CDs that cost less than 10.00, but are not Rock CDs

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Lets address the SQL queries for each part of the question Step 1 Find a list of all infor... View full answer

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!