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. SELECT LIST of a subquery in an INSERT statement






2. A transaction is a...






3. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






4. Write a statement that drops the index need_to_pass_i






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






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






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






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






9. Write the syntax to rename index just_two_more_weeks_i to finally_i






10. Explain what is found in the All Objects report folder in SQL Developer






11. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






12. The ___________ operator tests whether a matching row cannot be found.






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






14. List the reasons that a subquery could not be unnested.






15. SELECT * FROM instructor ORDER BY phone






16. Which one of the following string functions tells you how many characters are in a string?






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






18. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






20. In a view you can give a column a different name than it has in the...






21. List 4 aggregate functions






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






23. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






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






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






26. Checks whether any value in the list makes the condition true.






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






28. Explain how Substitution Variables are used when writing scripts.






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






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






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






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






33. The ________ operator cannot compare against a list of values.






34. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






35. Which format mask displays December 31st - 1999?






36. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






37. When is it not a good idea to use an index?






38. The ______ depicts the M of a 1:M relationship.


39. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






40. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






41. LINESIZE






42. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






44. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.






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






46. 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.






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






48. The ______ operator compares a list of values for equivalency






49. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






50. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...