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. A _________ subquery returns a single column with a single row






2. FEEDBACK






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






4. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






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






6. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






12. List 6 Table-Related Menu Choices






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






14. Comparison operators can compare multiple _________________.






15. What does SQL stand for?






16. NUMBER functions can be...






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






18. When you run a script in SQL*Plus you must give the...






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






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






21. Explain what a static data dictionary view is and how it is used






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






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






24. __________________ inserts the current date and time.






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






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






27. To restart a sequence at a lower number - you can drop and ________ the sequence.






28. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






29. A transaction is a...






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






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






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






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






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






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






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


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






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






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






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






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






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






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






44. Which operator is most commonly used?






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






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






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






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






49. Write a statement that drops the index need_to_pass_i






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