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. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






4. List the steps performed by a correlated subquery.






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






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






7. Subqueries can return...






8. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






10. Write a statement that drops the index need_to_pass_i






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






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






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






14. The _____________ clause determines how rows are grouped.






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






16. PAGESIZE






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






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






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






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






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






22. SELECT LIST of a subquery in an INSERT statement






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






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






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


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






27. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






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






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






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






31. The ALTER SESSION statement can change the session's...






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






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






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






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






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






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






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






39. What are the main components of a ROWID?






40. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






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






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






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






44. LINESIZE






45. Comparison operators can compare multiple _________________.






46. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






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






48. _________________ relationships are always optional relationships.






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






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