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. List the different types of data dictionary views.






2. Explain why constraints are used when building tables.

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


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






4. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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. How many characters can be stored in the CHAR column/field?






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






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






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






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






17. The __________ operator is inclusive of the two values specified.






18. List 4 aggregate functions






19. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






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






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






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






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






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






34. Converting a text literal to DATE format requires the use of the...






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






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






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






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






39. The ____________ command makes changes permanent.






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






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






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






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






44. The COUNT function is useful for determining whether a table has...






45. Which operator is most commonly used?






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






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

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


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






49. You can use the ________________ to subtract months from a given date.






50. Dynamic views begin with a ___________.