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. A _________ subquery returns a single column with a single row






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






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






4. Comparison operators can compare multiple _________________.






5. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






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






16. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






18. NUMBER functions can be...






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






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






21. The using clause of the ANSI join syntax always assumes an...






22. What are the main components of a ROWID?






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






24. _________________ relationships are always optional relationships.






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






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






27. What does SQL stand for?






28. List the steps performed by a correlated subquery.






29. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






34. The _______ operator determines common rows.






35. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...






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






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






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






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






40. Write a statement for SQL*Plus that shows the dictionary.






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






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






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






44. SELECT * FROM instructor ORDER BY phone






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






46. What do views do that makes them so useful for security?






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






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






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


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