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. It is considered good form to put all SQL commands in...






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






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






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






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






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






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






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






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






10. List the steps performed by a correlated subquery.






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






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






13. NUMBER functions can be...






14. _________________ relationships are always optional relationships.






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






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






17. The _______ operator determines common rows.






18. The ____________ command makes changes permanent.






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






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






21. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






22. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






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






25. Explain how Substitution Variables are used when writing scripts.






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






27. Write a statement that drops the index need_to_pass_i






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






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






30. A transaction is a...






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






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






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






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


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






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






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






38. The focus of the logical data model is _____________






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






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






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






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






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






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






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






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






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






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






49. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






50. SELECT * FROM instructor ORDER BY phone