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 you have issued a DELETE command - you can still ________ those rows and restore the information.






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






3. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






5. The focus of the logical data model is _____________






6. Which one of the following string functions tells you how many characters are in a string?






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






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






9. The COUNT function uses the __________ wildcard.






10. What are the main components of a ROWID?






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






12. SQL*Plus is used more than SQL Developer when you need to...






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






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






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






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






17. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






20. SELECT LIST of a subquery in an INSERT statement






21. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






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






23. How many characters can be stored in the CHAR column/field?






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






25. The key that most database designers prefer and is chosen by the system is the _____________ key.






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






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






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






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






30. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






31. _________________ relationships are always optional relationships.






32. The __________ operator is inclusive of the two values specified.






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






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






35. List 4 aggregate functions






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






37. List the different types of data dictionary views.






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






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






40. PAGESIZE






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






42. __________________ inserts the current date and time.






43. What is the keyboard shortcut for the ROLLBACK command?






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






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






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






47. LINESIZE






48. The _____________ clause determines how rows are grouped.






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






50. Write the syntax to rename index just_two_more_weeks_i to finally_i