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 Oracle's most popular index storage structure?






2. The ____________ command makes changes permanent.






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






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






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






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






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






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






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






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






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






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






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






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






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






16. What does SQL stand for?






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






18. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






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






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






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






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






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






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






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






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






27. The _______ operator determines common rows.






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






29. What are the main components of a ROWID?






30. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






35. Comparison operators can compare multiple _________________.






36. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






38. The TRUNC function on a date without a format model truncates the timestamp to...






39. SELECT LIST of a subquery in an INSERT statement






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






41. Write a statement that drops the index need_to_pass_i






42. The DUAL table can be used for...






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






44. Subqueries can return...






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






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






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






48. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






49. List 4 aggregate functions






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