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. In a view you can give a column a different name than it has in the...






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






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






4. The ____________ command makes changes permanent.






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






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






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


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






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






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






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






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






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






14. List 4 aggregate functions






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






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






17. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






18. The COUNT function is useful for determining whether a table has...






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






20. List the different types of data dictionary views.






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






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






23. The RTRIM function is useful for eliminating ________ in a string.






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






25. What are the main components of a ROWID?






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






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






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






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






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






31. What is the tab in SQL Developer where data dictionary view information can be found?






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






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






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






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






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






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






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






39. Write a statement that drops the index need_to_pass_i






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






41. SELECT LIST of a subquery in an INSERT statement






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






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






44. PAGESIZE






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






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






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






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






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






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