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. Explain what is found in the All Objects report folder in SQL Developer






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






3. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






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






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






7. Another name for a data dictionary view is __________________ or _________________.






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






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






10. SELECT * FROM instructor ORDER BY phone






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






12. The COUNT function uses the __________ wildcard.






13. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






15. A _________ subquery returns a single column with a single row






16. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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






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






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






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






21. What does SQL stand for?






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






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






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






25. What is the data type you can use if you need an unlimited number of textual characters?






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






27. List the different types of data dictionary views.






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






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






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






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






32. Match each of the SQL commands on the left with a verb from the list.






33. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






36. __________________ inserts the current date and time.






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






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






39. A transaction is a...






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






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






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






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






44. The _______ operator determines common rows.






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






46. Oracle uses the outer join operator to indicate that nulls are shown for...






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






48. The ____________ command makes changes permanent.






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






50. The _______ function lets you perform if-then-else functionality with the SQL language.