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. A _________ subquery returns a single column with a single row






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






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






4. When is it not a good idea to use an index?






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






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






7. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






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






11. Another name for a data dictionary view is __________________ or _________________.






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






13. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






16. Which operator is most commonly used?






17. __________________ inserts the current date and time.






18. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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






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






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






22. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






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






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






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






27. What is the data type you can use if you need an unlimited number of textual characters?






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






29. PAGESIZE






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






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






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






33. The _______ operator determines common rows.






34. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






35. Explain why constraints are used when building tables.


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






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






38. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






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






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






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






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






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






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






45. FEEDBACK






46. A transaction is a...






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






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






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






50. Comparison operators can compare multiple _________________.