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. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






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






3. _________________ relationships are always optional relationships.






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






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






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






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






8. The ________ operator cannot compare against a list of values.






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






10. What is the name of the key automatically generated from a sequence?






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






12. The _______ operator determines common rows.






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






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






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






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






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






18. Comparison operators can compare multiple _________________.






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






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


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






22. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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






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






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






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






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






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






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






30. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






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






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






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






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






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






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






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






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






41. When you run a script in SQL*Plus you must give the...






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






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






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






45. LINESIZE






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






47. Explain what a static data dictionary view is and how it is used






48. List the different types of data dictionary views.






49. Subqueries can return...






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