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. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






2. Subqueries can return...






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






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






5. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






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






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






9. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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






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






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






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






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






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






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






17. List the steps performed by a correlated subquery.






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






19. What is the name of the key automatically generated from a sequence?






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






21. To restart a sequence at a lower number - you can drop and ________ the sequence.






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






23. What are the main components of a ROWID?






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






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






26. __________________ inserts the current date and time.






27. What do views do that makes them so useful for security?






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






29. Write a statement that drops the index need_to_pass_i






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






31. Users can only see changes made to a database once they have been...






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






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






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






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






36. Which operator is most commonly used?






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. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






39. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






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






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






47. FEEDBACK






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






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






50. _________________ relationships are always optional relationships.