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. The using clause of the ANSI join syntax always assumes an...






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






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






4. A transaction is a...






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






6. What is the most common DATE format found in SQL?






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






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






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






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






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






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






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






14. Comparison operators can compare multiple _________________.






15. PAGESIZE






16. Dynamic views begin with a ___________.






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






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






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






20. Joins involving multiple columns must always follow the ____________ relationship path.






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






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






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






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






25. What is the tab in SQL Developer where data dictionary view information can be found?






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






27. Write a statement that drops the index need_to_pass_i






28. What are the main components of a ROWID?






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






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






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






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






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






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






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






37. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






38. List 4 aggregate functions






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






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






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






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






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






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






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






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






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






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






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






50. SELECT * FROM instructor ORDER BY phone