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. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






2. The ______ depicts the M of a 1:M relationship.


3. Match each of the SQL commands on the left with a verb from the list.






4. List 6 Table-Related Menu Choices






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






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






7. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






12. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






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






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






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






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






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






19. LINESIZE






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






21. List the different types of data dictionary views.






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






23. _________________ relationships are always optional relationships.






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






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






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






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






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






29. ____________ are useful for analyzing and exploring the relationships within your data






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






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






32. What does SQL stand for?






33. The _______ function adds values together for a group of rows.






34. __________________ inserts the current date and time.






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






36. What are the main components of a ROWID?






37. Dynamic views begin with a ___________.






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






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






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






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






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






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






44. The _______ operator determines common rows.






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






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






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






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






49. The _____________ clause determines how rows are grouped.






50. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.