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 Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






2. The ____________ command makes changes permanent.






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






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






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






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






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






8. What does SQL stand for?






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






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






11. List the different types of data dictionary views.






12. FEEDBACK






13. Subqueries can return...






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






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






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






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






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






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






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






21. LINESIZE






22. The _______ operator determines common rows.






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






24. Write the syntax to rename index just_two_more_weeks_i to finally_i






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 the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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


28. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






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






34. A transaction is a...






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






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






37. List the steps performed by a correlated subquery.






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






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






40. Which operator is most commonly used?






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






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






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






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






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






46. SELECT LIST of a subquery in an INSERT statement






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






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






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






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