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 data type you can use if you need an unlimited number of textual characters?






2. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






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






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






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






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






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






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






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






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






12. __________________ inserts the current date and time.






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






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






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






16. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






19. Dynamic views begin with a ___________.






20. The _______ operator determines common rows.






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






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






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






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






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






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






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






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






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






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






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






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






33. Subqueries can return...






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






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






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






37. You can use the ________________ to subtract months from a given date.






38. Write a statement that drops the index need_to_pass_i






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






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






41. The time zone displacement value indicates the time difference from _______.






42. FEEDBACK






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






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






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






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






47. The COUNT function uses the __________ wildcard.






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






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






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