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. The key that most database designers prefer and is chosen by the system is the _____________ key.






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






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






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






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






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






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






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






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






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






19. The _______ operator determines common rows.






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






21. List the steps performed by a correlated subquery.






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






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






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






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. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.






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






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






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






30. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.






31. NUMBER functions can be...






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






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






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






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






36. SELECT * FROM instructor ORDER BY phone






37. List 6 Table-Related Menu Choices






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






39. What is the most common DATE format found in SQL?






40. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






42. A join across three tables can be expressed with the ________ join syntax.






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






44. Dynamic views begin with a ___________.






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






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






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






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






49. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






50. Comparison operators can compare multiple _________________.