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 the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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






4. The COUNT function uses the __________ wildcard.






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






6. NUMBER functions can be...






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


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






9. The _______ operator determines common rows.






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






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






12. Which operator is most commonly used?






13. _________________ relationships are always optional relationships.






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






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






16. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






17. The focus of the logical data model is _____________






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






19. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






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






23. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






26. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






28. The ____________ command makes changes permanent.






29. What are the main components of a ROWID?






30. What does SQL stand for?






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






32. You use the _________ keyword to add columns or constraints to a table.






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






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






35. List the different types of data dictionary views.






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






37. How many characters can be stored in the CHAR column/field?






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






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






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






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






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






43. A transaction is a...






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






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






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






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






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






49. Write a statement that drops the index need_to_pass_i






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