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. Write a solution that adds 20 minutes to a given date.






2. NUMBER functions can be...






3. Write a statement that drops the index need_to_pass_i






4. PAGESIZE






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






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






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


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






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






10. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






12. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






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






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






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






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






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






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






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






20. The COUNT function uses the __________ wildcard.






21. Dynamic views begin with a ___________.






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






23. List the steps performed by a correlated subquery.






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






25. What is the maximum value for a column defined as NUMBER(4 -2)?






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






27. List 4 aggregate functions






28. The _______ operator determines common rows.






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






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






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






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






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






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






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






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


37. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






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






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






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






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






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






45. The _______ function lets you perform if-then-else functionality with the SQL language.






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






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






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






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






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