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. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






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






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






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






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






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






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






8. How many characters can be stored in the CHAR column/field?






9. The ____________ command makes changes permanent.






10. __________________ inserts the current date and time.






11. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






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






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






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






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






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






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






19. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






22. Joins involving multiple columns must always follow the ____________ relationship path.






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






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






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






26. Returns rows if the condition is true for all the values in the list






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






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






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






30. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






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






33. LINESIZE






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






35. The RTRIM function is useful for eliminating ________ in a string.






36. To restart a sequence at a lower number - you can drop and ________ the sequence.






37. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






38. Write a statement that drops the index need_to_pass_i






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






40. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






41. Which operator is most commonly used?






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






43. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






44. PAGESIZE






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






46. What are the main components of a ROWID?






47. The _____________ clause determines how rows are grouped.






48. _________________ relationships are always optional relationships.






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






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