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. What does the following function return? SELECT LENGTH(NULL) - FROM dual






2. The same function can be used ______ in a SELECT statement.






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






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






5. To equijoin a table with another table involves matching the...






6. A transaction is a...






7. List 4 aggregate functions






8. Write a statement for SQL*Plus that shows the dictionary.






9. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






10. What is the most common DATE format found in SQL?






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






12. The focus of the logical data model is _____________






13. Dynamic views begin with a ___________.






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






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






16. SELECT LIST of a subquery in an INSERT statement






17. Converting a text literal to DATE format requires the use of the...






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






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






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






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






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






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






24. Comparison operators can compare multiple _________________.






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






31. Write a statement that drops the index need_to_pass_i






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






33. Another name for a data dictionary view is __________________ or _________________.






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






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






36. Which operator is most commonly used?






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






38. What is Oracle's most popular index storage structure?






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






40. SELECT * FROM instructor ORDER BY phone






41. PAGESIZE






42. FEEDBACK






43. _________________ relationships are always optional relationships.






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






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






46. To join four tables - you must have at least _____ join conditions.






47. 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?






48. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






49. Explain in detail the impact of INDEXES and how they are used by Oracle.






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