Test your basic knowledge |

Oracle SQL

Subjects : oracle, it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. List the different types of data dictionary views.






2. Self-joins are useful for performing comparisons and checking for ___________ in data.






3. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






4. The COUNT function uses the __________ wildcard.






5. Queries that are found in parentheses are done first - just as in the order of operations when doing...






6. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






7. SELECT * FROM instructor ORDER BY phone






8. What is the keyboard shortcut for the ROLLBACK command?






9. Write a statement that drops the index need_to_pass_i






10. Dynamic views begin with a ___________.






11. What is the name of the key automatically generated from a sequence?






12. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






13. Write a solution that adds 20 minutes to a given date.






14. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






15. The __________ operator is inclusive of the two values specified.






16. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






17. A transaction is a...






18. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






19. The _____________ clause determines how rows are grouped.






20. Which operator is most commonly used?






21. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






22. A calculation with a null always yields...






23. Match each of the SQL commands on the left with a verb from the list.






24. SELECT LIST of a subquery in an INSERT statement






25. What is the tab in SQL Developer where data dictionary view information can be found?






26. In SQL Developer field names and table names are shown in the color _______.






27. The term ____________ ___________ is used to express a join that satisfies the join condition.






28. What is the maximum value for a column defined as NUMBER(4 -2)?






29. The query retrieves more than 5 to 15 percent of the rows






30. When you have issued a DELETE command - you can still ________ those rows and restore the information.






31. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






32. NUMBER functions can be...






33. The _______ function adds values together for a group of rows.






34. The key that most database designers prefer and is chosen by the system is the _____________ key.






35. A _________ subquery returns a single column with a single row






36. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






37. The time zone displacement value indicates the time difference from _______.






38. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...






39. Explain what a static data dictionary view is and how it is used






40. When you run a script in SQL*Plus you must give the...






41. FEEDBACK






42. You use the __________ keyword to change characteristics of a column.






43. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






44. The _______ function lets you perform if-then-else functionality with the SQL language.






45. The COUNT function is useful for determining whether a table has...






46. What is the first column of a composite index called?






47. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.






48. The DUAL table can be used for...






49. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






50. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly