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. The ____________ command makes changes permanent.






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






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






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






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






6. List 6 Table-Related Menu Choices






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






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






9. _________________ relationships are always optional relationships.






10. You can use the ________________ to subtract months from a given date.






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






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






13. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






14. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






15. The _____________ clause determines how rows are grouped.






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






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






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






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






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






21. SELECT LIST of a subquery in an INSERT statement






22. The _______ operator determines common rows.






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






24. __________________ inserts the current date and time.






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






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






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






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






29. Comparison operators can compare multiple _________________.






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






31. _________ rows are not allowed in the relational model.






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






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






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






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






36. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






43. Write a solution that adds 20 minutes to a given date.






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






45. The ________ operator cannot compare against a list of values.






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






47. What does SQL stand for?






48. The purpose of the HAVING clause is to eliminate___________.






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






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