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. What is the keyboard shortcut for the ROLLBACK command?






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






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






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






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






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






7. Write a solution that adds 20 minutes to a given date.






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






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






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






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






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






13. List 4 aggregate functions






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






15. What is the first column of a composite index called?






16. The _______ operator determines common rows.






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






18. __________________ inserts the current date and time.






19. _________________ relationships are always optional relationships.






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






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






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






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






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






25. What are the main components of a ROWID?






26. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






27. In SQL Developer field names and table names are shown in the color _______.






28. What is the most common DATE format found in SQL?






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






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






31. Write a statement that drops the index need_to_pass_i






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






33. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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






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






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






42. The ____________ command makes changes permanent.






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






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






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






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






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






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






49. You can use the ________________ to subtract months from a given date.






50. In a view you can give a column a different name than it has in the...