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. Explain what is found in the All Objects report folder in SQL Developer






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






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






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






5. List the different types of data dictionary views.






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






7. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






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






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






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






12. The _______ operator determines common rows.






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






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






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






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






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






18. The COUNT function uses the __________ wildcard.






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






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






21. _________________ relationships are always optional relationships.






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






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






24. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






25. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






26. Write the syntax to rename index just_two_more_weeks_i to finally_i






27. A calculation with a null always yields...






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






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






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






31. LINESIZE






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






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






34. The ____________ command makes changes permanent.






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






36. The focus of the logical data model is _____________






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






38. A transaction is a...






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






40. The ______ operator compares a list of values for equivalency






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






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






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






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






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






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






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






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






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






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