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






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






3. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






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






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






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






13. The _____________ clause determines how rows are grouped.






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






15. The ____________ command makes changes permanent.






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






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






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






19. What are the main components of a ROWID?






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






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






22. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






24. The DUAL table can be used for...






25. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






27. Subqueries can return...






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


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






30. _________________ relationships are always optional relationships.






31. NUMBER functions can be...






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






33. LINESIZE






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






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






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






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






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






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






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






41. Users can only see changes made to a database once they have been...






42. The ___________ operator tests whether a matching row cannot be found.






43. The ______ operator compares a list of values for equivalency






44. Dynamic views begin with a ___________.






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


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






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






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






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






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