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. You use the _________ keyword to add columns or constraints to a table.






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






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






4. List the different types of data dictionary views.






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






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






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






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






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






10. What is Oracle's most popular index storage structure?






11. The _____________ clause determines how rows are grouped.






12. What is the keyboard shortcut for the ROLLBACK command?






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






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






15. _________________ relationships are always optional relationships.






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






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






18. What is the data type you can use if you need an unlimited number of textual characters?






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






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






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






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






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






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






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






26. SELECT LIST of a subquery in an INSERT statement






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






28. The COUNT function uses the __________ wildcard.






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






30. List the steps performed by a correlated subquery.






31. What does SQL stand for?






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






33. Explain why constraints are used when building tables.


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






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






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






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






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






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






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






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






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






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






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






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






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






47. LINESIZE






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






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






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