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. How many characters can you have using the VARCHAR data type?






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






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






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






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






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






7. Write a solution that adds 20 minutes to a given date.






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






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






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






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






12. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






16. The _____________ clause determines how rows are grouped.






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






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






19. _________________ relationships are always optional relationships.






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






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






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






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






24. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






32. PAGESIZE






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






34. The TRUNC function on a date without a format model truncates the timestamp to...






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






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






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






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






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






40. List 4 aggregate functions






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






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






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






44. __________________ inserts the current date and time.






45. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






47. LINESIZE






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






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






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