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 __________ operator is inclusive of the two values specified.






2. What are the main components of a ROWID?






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






4. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






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






10. The ALTER SESSION statement can change the session's...






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






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






13. The ____________ command makes changes permanent.






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






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






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






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






18. Dynamic views begin with a ___________.






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






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






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






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






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






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






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






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






27. Explain what is found in the All Objects report folder in SQL Developer






28. LINESIZE






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






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






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






32. The _____________ clause determines how rows are grouped.






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






34. Comparison operators can compare multiple _________________.






35. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






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






37. SELECT LIST of a subquery in an INSERT statement






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






39. List the steps performed by a correlated subquery.






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






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






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






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






44. Which operator is most commonly used?






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






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






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






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






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






50. List 4 aggregate functions