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. Subqueries can return...






2. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






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






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






11. The _____________ clause determines how rows are grouped.






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






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






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






15. To equijoin a table with another table involves matching the...






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






17. Users can only see changes made to a database once they have been...






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






19. LINESIZE






20. The ____________ command makes changes permanent.






21. The TRUNC function on a date without a format model truncates the timestamp to...






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






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






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


25. A transaction is a...






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






27. Explain why constraints are used when building tables.

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


28. __________________ inserts the current date and time.






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






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






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






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






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






34. Explain the steps needed to run a script in SQL Developer






35. The ______ operator compares a list of values for equivalency






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






37. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






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






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






40. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






43. Write a statement that drops the index need_to_pass_i






44. The using clause of the ANSI join syntax always assumes an...






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






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






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






48. The _______ operator determines common rows.






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






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