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. It is considered good form to put all SQL commands in...






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






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






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






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






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






7. PAGESIZE






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






9. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






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






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






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






17. What are the main components of a ROWID?






18. Which operator is most commonly used?






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






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






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






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






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






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






25. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






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






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






28. A transaction is a...






29. LINESIZE






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






31. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.






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






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






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






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






36. __________________ inserts the current date and time.






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






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






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






40. The _______ operator determines common rows.






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






42. The _____________ clause determines how rows are grouped.






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






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






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


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






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






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






49. List the different types of data dictionary views.






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