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. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






4. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






5. When is it not a good idea to use an index?






6. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






8. Explain the steps needed to run a script in SQL Developer






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






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






11. Dynamic views begin with a ___________.






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






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






14. A calculation with a null always yields...






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






16. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






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


18. SELECT * FROM instructor ORDER BY phone






19. Comparison operators can compare multiple _________________.






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






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






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






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






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






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






26. What are the main components of a ROWID?






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






28. List 4 aggregate functions






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






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






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






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






33. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






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






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






41. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






42. The purpose of the HAVING clause is to eliminate___________.






43. LINESIZE






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






45. SELECT LIST of a subquery in an INSERT statement






46. The _______ operator determines common rows.






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






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






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






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