Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

1 SELECT cdtitleprice where cdtitle li... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

Students also viewed these Databases questions