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. The _____________ clause determines how rows are grouped.






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






3. List the steps performed by a correlated subquery.






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






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






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






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






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






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






10. _________________ relationships are always optional relationships.






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






12. FEEDBACK






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






14. Explain why constraints are used when building tables.

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


15. NUMBER functions can be...






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






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






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






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






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






21. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






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






24. The _______ operator determines common rows.






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






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






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






28. SQL*Plus is used more than SQL Developer when you need to...






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






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






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






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






33. List 4 aggregate functions






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






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






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






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






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






39. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






41. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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