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 4 aggregate functions






2. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






6. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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


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






9. In SQL Developer field names and table names are shown in the color _______.






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






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






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






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






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






15. Subqueries can return...






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






17. To join four tables - you must have at least _____ join conditions.






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






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






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






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






22. Comparison operators can compare multiple _________________.






23. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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






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






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


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






28. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






30. Which operator is most commonly used?






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






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






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






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






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






36. In a view you can give a column a different name than it has in the...






37. The _____________ clause determines how rows are grouped.






38. List the reasons that a subquery could not be unnested.






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






40. The same function can be used ______ in a SELECT statement.






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






42. When you have issued a DELETE command - you can still ________ those rows and restore the information.






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






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






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






46. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






48. Dynamic views begin with a ___________.






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






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