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 the name of the key automatically generated from a sequence?






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






3. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






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






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






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






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






8. Subqueries can return...






9. List 6 Table-Related Menu Choices






10. List the steps performed by a correlated subquery.






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






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






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






14. Write a statement that drops the index need_to_pass_i






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






16. SELECT * FROM instructor ORDER BY phone






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






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






19. The ______ depicts the M of a 1:M relationship.

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


20. What are the main components of a ROWID?






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






22. When you have issued a DELETE command - you can still ________ those rows and restore the information.






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






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






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






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






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






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






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






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






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






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






33. Comparison operators can compare multiple _________________.






34. The focus of the logical data model is _____________






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






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






37. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






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






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






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






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






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






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






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