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. Oracle uses the outer join operator to indicate that nulls are shown for...






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






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






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






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






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






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






8. What is the maximum value for a column defined as NUMBER(4 -2)?






9. The TRUNC function on a date without a format model truncates the timestamp to...






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






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






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






13. The query retrieves more than 5 to 15 percent of the rows






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






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






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






17. What is the first column of a composite index called?






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






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






20. List 4 aggregate functions






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






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






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






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






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






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






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






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


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






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






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






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






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






34. _________________ relationships are always optional relationships.






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






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






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






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






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






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






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






42. The focus of the logical data model is _____________






43. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






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