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 ALTER SESSION statement can change the session's...






2. You can pass parameters from the operating system when ___________ in SQl*Plus






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






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






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






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






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






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






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






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






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






12. What does SQL stand for?






13. The ________ operator cannot compare against a list of values.






14. A transaction is a...






15. NUMBER functions can be...






16. The _____________ clause determines how rows are grouped.






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






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






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






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






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






22. List the different types of data dictionary views.






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






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






25. The COUNT function uses the __________ wildcard.






26. Subqueries can return...






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






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






29. List 4 aggregate functions






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






31. SELECT LIST of a subquery in an INSERT statement






32. The ____________ command makes changes permanent.






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






34. The ______ depicts the M of a 1:M relationship.

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


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






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






37. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






40. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






43. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






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






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






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






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






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






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






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