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. Users can only see changes made to a database once they have been...






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






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






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






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






6. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






9. SELECT LIST of a subquery in an INSERT statement






10. Returns rows if the condition is true for all the values in the list






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






12. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






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






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






15. To join four tables - you must have at least _____ join conditions.






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






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






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






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






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






21. Which operator is most commonly used?






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






23. The _____________ clause determines how rows are grouped.






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






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






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






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






28. LINESIZE






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






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






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






32. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






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






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






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






36. _________________ relationships are always optional relationships.






37. NUMBER functions can be...






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






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






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






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






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






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






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






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






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






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


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






49. In a view you can give a column a different name than it has in the...






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