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. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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






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






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






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






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






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






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






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






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






12. How many characters can you have using the VARCHAR data type?






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






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






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






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






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






18. SELECT * FROM instructor ORDER BY phone






19. The ____________ command makes changes permanent.






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






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






22. The focus of the logical data model is _____________






23. Explain why constraints are used when building tables.


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






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






26. List 4 aggregate functions






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






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






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






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






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






32. List 6 Table-Related Menu Choices






33. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






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






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






42. PAGESIZE






43. Subqueries can return...






44. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






45. Write a statement that drops the index need_to_pass_i






46. It is considered good form to put all SQL commands in...






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






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






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






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