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






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






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






4. The RTRIM function is useful for eliminating ________ in a string.






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






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






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






8. The _______ operator determines common rows.






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






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






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






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






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






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






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






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






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






18. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






20. The term ____________ ___________ is used to express a join that satisfies the join condition.






21. _________________ relationships are always optional relationships.






22. The _____________ clause determines how rows are grouped.






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






24. List the steps performed by a correlated subquery.






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






26. Subqueries can return...






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






28. _________ rows are not allowed in the relational model.






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






30. SELECT LIST of a subquery in an INSERT statement






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






32. The focus of the logical data model is _____________






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






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






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






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






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






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






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






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






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






42. Write a statement that drops the index need_to_pass_i






43. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






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






45. __________________ inserts the current date and time.






46. Write the syntax to rename index just_two_more_weeks_i to finally_i






47. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






48. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






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






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