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 how Substitution Variables are used when writing scripts.






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






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






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






5. _________________ relationships are always optional relationships.






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






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






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






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






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






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






12. __________________ inserts the current date and time.






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






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






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






16. SELECT * FROM instructor ORDER BY phone






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






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






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






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






21. The ______ depicts the M of a 1:M relationship.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


22. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






24. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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


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






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






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






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






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






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






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






35. What are the main components of a ROWID?






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






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






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






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






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






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






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






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






44. 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?






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






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






47. A join across three tables can be expressed with the ________ join syntax.






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






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






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