Question: Oracle 12c 3rd edition Chapter 10 Advanced Challenge To perform this activity, refer to the tables in the JustLee Books database. Management is proposing to
Oracle 12c 3rd edition
Chapter 10 Advanced Challenge
To perform this activity, refer to the tables in the JustLee Books database. Management is proposing to increase the price of each book. The amount of the increase will be based on each books category, according to the following scale: Computer books, 10%; Fitness books, 15%; Self-Help books, 25%; all other categories, 3%. Create a list that displays each books title, category, current retail price, and revised retail price. The prices should be displayed with two decimal places. The column headings for the output should be as follows: Title, Category, Current Price, and Revised Price. Sort the results by category. If theres more than one book in a category, a secondary sort should be performed on the books title. Create a document to show management the SELECT statement used to generate the results and the results of the statement.
Please type answer in SQL
| ISBN | TITLE | PUBDATE | PUBID | COST | RETAIL | DISCOUNT | CATEGORY |
| 1059831198 | BODYBUILD IN 10 MINUTES A DAY | 21-JAN-05 | 4 | 18.75 | 30.95 | - | FITNESS |
| 0401140733 | REVENGE OF MICKEY | 14-DEC-05 | 1 | 14.2 | 22 | - | FAMILY LIFE |
| 4981341710 | BUILDING A CAR WITH TOOTHPICKS | 18-MAR-06 | 2 | 37.8 | 59.95 | 3 | CHILDREN |
| 8843172113 | DATABASE IMPLEMENTATION | 04-JUN-03 | 3 | 31.4 | 55.95 | - | COMPUTER |
| 3437212490 | COOKING WITH MUSHROOMS | 28-FEB-04 | 4 | 12.5 | 19.95 | - | COOKING |
| 3957136468 | HOLY GRAIL OF ORACLE | 31-DEC-05 | 3 | 47.25 | 75.95 | 3.8 | COMPUTER |
| 1915762492 | HANDCRANKED COMPUTERS | 21-JAN-05 | 3 | 21.8 | 25 | - | COMPUTER |
| 9959789321 | E-BUSINESS THE EASY WAY | 01-MAR-06 | 2 | 37.9 | 54.5 | - | COMPUTER |
| 2491748320 | PAINLESS CHILD-REARING | 17-JUL-04 | 5 | 48 | 89.95 | 4.5 | FAMILY LIFE |
| 0299282519 | THE WOK WAY TO COOK | 11-SEP-04 | 4 | 19 | 28.75 | - | COOKING |
| 8117949391 | BIG BEAR AND LITTLE DOVE | 08-NOV-05 | 5 | 5.32 | 8.95 | - | CHILDREN |
| 0132149871 | HOW TO GET FASTER PIZZA | 11-NOV-06 | 4 | 17.85 | 29.95 | 1.5 | SELF HELP |
| 9247381001 | HOW TO MANAGE THE MANAGER | 09-MAY-03 | 1 | 15.4 | 31.95 | - | BUSINESS |
| 2147428890 | SHORTEST POEMS | 01-MAY-05 | 5 | 21.85 | 39.95 | - | LITERATURE |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
