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. The _______ function lets you perform if-then-else functionality with the SQL language.






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






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






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






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






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






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






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






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






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






11. Write the syntax to rename index just_two_more_weeks_i to finally_i






12. LINESIZE






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






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






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






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






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






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






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






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






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






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






23. The COUNT function uses the __________ wildcard.






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






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






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






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






28. What is the data type you can use if you need an unlimited number of textual characters?






29. _________________ relationships are always optional relationships.






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


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






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






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






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






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






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






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






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






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






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






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






42. A transaction is a...






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






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






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






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






47. Comparison operators can compare multiple _________________.






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






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






50. __________________ inserts the current date and time.