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 change characteristics of a column.






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






3. Explain the steps needed to run a script in SQL Developer






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


5. The ____________ command makes changes permanent.






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






7. List the steps performed by a correlated subquery.






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






9. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






10. Which operator is most commonly used?






11. Comparison operators can compare multiple _________________.






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






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






14. The using clause of the ANSI join syntax always assumes an...






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






16. What are the main components of a ROWID?






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






18. Write a statement that drops the index need_to_pass_i






19. List 4 aggregate functions






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






21. The COUNT function uses the __________ wildcard.






22. _________________ relationships are always optional relationships.






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






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






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






26. PAGESIZE






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






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






29. Explain how Substitution Variables are used when writing scripts.






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






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






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






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






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






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






36. Dynamic views begin with a ___________.






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






38. What is the main difference between the NOT EXISTS and the NOT IN operators?






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






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






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






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






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






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






45. Subqueries can return...






46. Explain why constraints are used when building tables.

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


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






48. List 6 Table-Related Menu Choices






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






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