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. NUMBER functions can be...






2. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






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






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






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






6. The COUNT function is useful for determining whether a table has...






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






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






9. _________________ relationships are always optional relationships.






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






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






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






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






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






15. The query retrieves more than 5 to 15 percent of the rows






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






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






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






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






20. It is considered good form to put all SQL commands in...






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






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






23. The COUNT function uses the __________ wildcard.






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






25. List 4 aggregate functions






26. The _______ operator determines common rows.






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






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






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






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






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






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






33. Write a statement that drops the index need_to_pass_i






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






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






36. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






37. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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






39. A transaction is a...






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






41. Explain what a static data dictionary view is and how it is used






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






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






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






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






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






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






48. What does SQL stand for?






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






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