Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(1) Install MySQL in your computer. You may also install xampp instead of just M

ID: 3871785 • Letter: #

Question

(1) Install MySQL in your computer. You may also install xampp instead of just MySQL. Install the 'Big' PVFC database of the textbook in MySQL and call the database 'bigpvfc'. You may execute the sql file, bigpvfc.sql (provided separately), in MySQL console.

Provide the MySQL commands for the following queries.

(f) List the product descriptions and their standard prices of all Oak finished product in the descending order of prices.

+-----------+----------------------+---------------+----------------------+---------------+---------------+-------+
| ProductID | ProductDescription   | ProductFinish | ProductStandardPrice | ProductOnHand | ProductLineID | Photo |
+-----------+----------------------+---------------+----------------------+---------------+---------------+-------+
|        19 | 7' Grandfather Clock | Oak           |            1100.0000 |             0 |             4 | NULL |
|        18 | 6' Grandfather Clock | Oak           |             890.0000 |             0 |             4 | NULL |
|        12 | 8-Drawer Dresser     | Oak           |             800.0000 |             0 |             1 | NULL |
|         3 | Oak Computer Desk    | Oak           |             750.0000 |             0 |             1 | NULL |
|        11 | 4-Drawer Dresser     | Oak           |             500.0000 |             0 |             1 | NULL |
|         5 | Writer's Desk        | Oak           |             325.0000 |             0 |             2 | NULL |
|        10 | 96" Bookcase         | Oak           |             200.0000 |             0 |             3 | NULL |
|         8 | 48" Bookcase         | Oak           |             175.0000 |             0 |             3 | NULL |
+-----------+----------------------+---------------+----------------------+---------------+---------------+-------+
8 rows in set (0.00 sec)

Explanation / Answer

Query:

select ProductDescription, ProductStandardPrice from product where ProductFinish ='Oak' order by ProductStandardPrice ;

This query returns the required result.