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. To restart a sequence at a lower number - you can drop and ________ the sequence.






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






3. Write a statement that drops the index need_to_pass_i






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






5. The ROWID pseudocolumn is not an ________- but it acts like one.






6. SELECT * FROM instructor ORDER BY phone






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






8. What does SQL stand for?






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






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






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






12. The purpose of the HAVING clause is to eliminate___________.






13. A join across three tables can be expressed with the ________ join syntax.






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






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






16. The ____________ command makes changes permanent.






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






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






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






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

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


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






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






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






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






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






26. A transaction is a...






27. List 4 aggregate functions






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






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






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






31. ____________ are useful for analyzing and exploring the relationships within your data






32. Subqueries can return...






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


34. List 6 Table-Related Menu Choices






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






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






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






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






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






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






41. Explain how Dynamic SQL is used and give an example of a Dynamic SQL statement.






42. Dynamic views begin with a ___________.






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






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






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






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






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






48. The COUNT function uses the __________ wildcard.






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






50. The TRUNC function on a date without a format model truncates the timestamp to...