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 main difference between the NOT EXISTS and the NOT IN operators?






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






3. List the different types of data dictionary views.






4. List the steps performed by a correlated subquery.






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






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






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






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






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






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






11. PAGESIZE






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






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






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






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






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






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






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






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






20. What does SQL stand for?






21. Write a statement that drops the index need_to_pass_i






22. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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






25. The focus of the logical data model is _____________






26. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






27. FEEDBACK






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






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






30. The purpose of the HAVING clause is to eliminate___________.






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






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






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






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






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






36. What are the main components of a ROWID?






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






38. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






39. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






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






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






42. _________________ relationships are always optional relationships.






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






44. __________________ inserts the current date and time.






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






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






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






48. The COUNT function uses the __________ wildcard.






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






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