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. UNION ALL does not sort - therefore it is less time consuming to use than the...






2. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






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






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






6. In SQL Developer field names and table names are shown in the color _______.






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






8. The _______ operator determines common rows.






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






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






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






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






13. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






14. How many characters can you have using the VARCHAR data type?






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






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






17. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






18. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






19. Explain what is found in the All Objects report folder in SQL Developer






20. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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






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






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






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






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






26. PAGESIZE






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






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






29. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






30. What are the main components of a ROWID?






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






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






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






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






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






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






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






38. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






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






40. Dynamic views begin with a ___________.






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






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






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






44. Subqueries can return...






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






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






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






48. FEEDBACK






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






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