Computer Science Homework Solutions
Problem
#23231

SQL Command

Use SQL to compete the following:

What is the lowest book price in the database?  For example, this is what the database should look like:

(See attached file)

This database has 34 books with prices starting from 25.50 to 5.99. This is what I have so far but it isn't working:

SELECT TITLE
FROM BOOK
WHERE SELECT MIN(PRICE)
;
(See attachment for details)

Attached file(s):
Attachments
SQL 2.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

SQL 2.doc
Use SQL to compete the following:

What is the lowest book price in the database? For example, this is
what the database should look like:

TITLE MIN(PRICE)

Nine Stories 5.99

Fanny and Zooey 5.99

The Catcher in the Rye 5.99



This database has 34 books with prices starting from 25.50 to 5.99. This
is what I have so far but it isn’t working:

SELECT TITLE

FROM BOOK

WHERE SELECT MIN(PRICE)

;

This example is not working because I keep getting errors in MYSQL. Any
suggestion would be greatly appreciated. Thanks.
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$3.99)
Included in Download
  • Plain text response
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • ORACLE9i - 1. What might cause the loss of one control file? What might cause the loss of all control files? 2. Compare and contrast multiplexing of control files and redo log files. 3. Why s ...
  • Flats R Us Database - Using information that you used from the Flats R Us case study in division one, create a database using Microsoft Access 2000 (XP) or Access 2000 to meet the following requirments. Flats R Us wan ...
  • SQL 2005 - Use SQL Management Studio to create a database called ITD640_P1.MDF. Add the tables and data shown below to the database. Use the appropriate field types and lengths for the tables. See attached fi ...
  • Need a script that uses a cursor - I am trying to create a script that uses a cursor based on the select statement: SELECT name, database_id FROM sys.databases The scope of the script is to build and execute a BACKUP DATABASE state ...
  • Build a connection string that allows for a connection object... - See attachment for details. --- TASK: Build a connection string that allows for a connection object to use the ODBC data source AriMiddle, which is bound to the database AriMiddle. ODBC Data So ...
Browse