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. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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


4. What is the main difference between the NOT EXISTS and the NOT IN operators?






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






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






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






8. The ALTER SESSION statement can change the session's...






9. How many characters can you have using the VARCHAR data type?






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






11. Subqueries can return...






12. Dynamic views begin with a ___________.






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






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






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






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






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






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






19. LINESIZE






20. _________________ relationships are always optional relationships.






21. Explain the steps needed to run a script in SQL Developer






22. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






26. The focus of the logical data model is _____________






27. The using clause of the ANSI join syntax always assumes an...






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






29. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






30. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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






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






33. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






34. Comparison operators can compare multiple _________________.






35. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.


36. __________________ inserts the current date and time.






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






38. _________ rows are not allowed in the relational model.






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






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






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






42. You use the _________ keyword to add columns or constraints to a table.






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






44. Explicit data type conversion is preferable to Oracle's...






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






46. A transaction is a...






47. When column names on the tables are different - you use the ______ condition.






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






49. What do views do that makes them so useful for security?






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