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






2. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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






6. NUMBER functions can be...






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






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






9. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






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






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






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






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






14. You can pass parameters from the operating system when ___________ in SQl*Plus






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






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






17. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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






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






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






27. A transaction is a...






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






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






30. Oracle uses the outer join operator to indicate that nulls are shown for...






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






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






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






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






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






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






37. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






38. List the different types of data dictionary views.






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






40. What does SQL stand for?






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






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






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






44. PAGESIZE






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






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






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






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






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






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