DP 1 3 Practice
DP 1 3 Practice
DP 1 3 Practice
com/academy
Vocabulary
Identify the vocabulary word for each definition below.
A mathematical equation.
Try It / Solve It
Now you know the basics of a SELECT statement, It's time to practice what you've learned.
2. Write a query that displays the last_name and email addresses for all the people in the
DJs on Demand d_client table. The column headings should appear as “Client” and “Email
Address.”
3. The manager of Global Fast Foods decided to give all employees at 5%/hour raise + a
$.50 bonus/hour. However, when he looked at the results, he couldn't figure out why the
new raises were not as he predicted. Ms. Doe should have a new salary of $7.59, Mr.
Miller's salary should be $11.00, and Monique Tuttle should be $63.50. He used the
following query. What should he have done?
4. Which of the following would be the easiest way to see all rows in the d_songs table?
a. SELECT id, title, duration, artist, type_code
b. SELECT columns
c. SELECT *
d. SELECT all
5. If tax = 8.5% * car_cost and license = car_cost * .01%, which value will produce the
largest car payment?
a. Payment = (car_cost * 1.25) + 5.00 - (tax) - (license)
b. Payment = car_cost * 1.25 + 5.00 - (tax - license)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
3
6. In the example below, identify the keywords, the clause(s), and the statement(s):
10. Which of the following words must be in a SELECT statement in order to return all rows?
a. SELECT only
b. SELECT and FROM
c. FROM only
d. SELECT * only
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.