Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

DSO23AT - Lesson 1 Exercises

Use the KALEIDOSCOPE database for all exercises except when instructed otherwise.

1. List the contents/details/data of the author table

2. List the title, date of publication and category of all books

3. List the contents/details/data of table bk_costs

4. List the current retail price and the retail price after it has been increased by 10% for every book.
Also list the ISBN of every book.

5. List the profit for every book. Also list the ISBN of every book.

6. Determine the percentage profit on every book. Also list the ISBN of every book. Note the
headings of the last three answers.

7. Repeat question 6, but change the heading of the percentage profit to PROFIT. Use the keyword
AS.

8. Repeat question 6, but change the heading of the percentage profit to PROFIT. DO NOT use the
keyword AS.

9. Repeat question 6, but change the heading of the percentage profit to profit (the heading must be
in lower case).

10. Repeat question 6, but change the heading of the percentage profit to Percentage Profit.

11. A customer wants to buy five copies of every book. The delivery cost for every five books will
be R500. What is the final amount that he has to pay for five copies of every book? Also list the
cost and ISBN of every book.

12. List the orders of all the books. Note the rows where values are missing for the shipdate. What do
we call these missing values?

13. List the first name and last name of every author. Ensure that the results are displayed like listed
below.
FNAME LNAME
---------- ----------
SAM SMITH
JANICE JONES
… etc

14. List the information of the books as listed below:


Published Works
-----------------------------------------------------------------
BODYBUILD IN 10 MINUTES A DAY was published by 4 on 21-JAN-01
REVENGE OF MICKEY was published by 1 on 14-DEC-01
… etc

15. List all the categories that exist for the books.

16. List all the categories that exist for the books. List every category once only.

17. Display the structure of table bk_books.

You might also like