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. SELECT LIST of a subquery in an INSERT statement






2. What does SQL stand for?






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






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






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






6. Dynamic views begin with a ___________.






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






8. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






13. PAGESIZE






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






15. __________________ inserts the current date and time.






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






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






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






19. Which one of the following string functions tells you how many characters are in a string?






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






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






22. Subqueries can return...






23. The ____________ command makes changes permanent.






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






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






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






27. Write a statement for SQL*Plus that shows the dictionary.






28. The _______ operator determines common rows.






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






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






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






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






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






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. _________________ relationships are always optional relationships.






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






37. You use the __________ keyword to change characteristics of a column.






38. List the different types of data dictionary views.






39. What is the maximum value for a column defined as NUMBER(4 -2)?






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






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






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






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






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






45. You can pass parameters from the operating system when ___________ in SQl*Plus






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






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






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






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






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