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. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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






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


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






5. The _____________ clause determines how rows are grouped.






6. What is the keyboard shortcut for the ROLLBACK command?






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






8. PAGESIZE






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






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






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






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






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






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






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






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






17. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






19. _________________ relationships are always optional relationships.






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






21. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






31. Converting a text literal to DATE format requires the use of the...






32. The COUNT function uses the __________ wildcard.






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






34. You use the _________ keyword to add columns or constraints to a table.






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






36. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






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






38. NUMBER functions can be...






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






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






41. Explain what is found in the All Objects report folder in SQL Developer






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






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






44. FEEDBACK






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






46. Dynamic views begin with a ___________.






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






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






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






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