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. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






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






3. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






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






7. The term ____________ ___________ is used to express a join that satisfies the join condition.






8. Which operator is most commonly used?






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






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






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






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






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






14. Which one of the following string functions tells you how many characters are in a string?






15. List 4 aggregate functions






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






17. Which format mask displays December 31st - 1999?






18. The ___________ operator tests whether a matching row cannot be found.






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






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






21. The COUNT function uses the __________ wildcard.






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






23. A transaction is a...






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






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






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






27. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






29. The _____________ clause determines how rows are grouped.






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






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






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






33. FEEDBACK






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






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






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






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






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






39. List the steps performed by a correlated subquery.






40. Write the syntax to rename index just_two_more_weeks_i to finally_i






41. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






43. List 6 Table-Related Menu Choices






44. List the different types of data dictionary views.






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






46. When you run a script in SQL*Plus you must give the...






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






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






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






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