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. Another name for a data dictionary view is __________________ or _________________.






2. Users can only see changes made to a database once they have been...






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






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






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






6. PAGESIZE






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






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






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






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






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






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






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






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






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






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






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






18. SELECT * FROM instructor ORDER BY phone






19. What does SQL stand for?






20. FEEDBACK






21. Oracle uses the outer join operator to indicate that nulls are shown for...






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






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






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






25. List the different types of data dictionary views.






26. The focus of the logical data model is _____________






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






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






29. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






30. List the steps performed by a correlated subquery.






31. You can pass parameters from the operating system when ___________ in SQl*Plus






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






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






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






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






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






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






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






39. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






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






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


44. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






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






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






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






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






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






50. NUMBER functions can be...