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. What is the first column of a composite index called?






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






3. Comparison operators can compare multiple _________________.






4. LINESIZE






5. The _______ function lets you perform if-then-else functionality with the SQL language.






6. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






7. List 4 aggregate functions






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






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






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






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






12. Subqueries can return...






13. The ____________ command makes changes permanent.






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






15. When you have issued a DELETE command - you can still ________ those rows and restore the information.






16. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






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






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






20. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






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






24. Another name for a data dictionary view is __________________ or _________________.






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






26. FEEDBACK






27. The DUAL table can be used for...






28. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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






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






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






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






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






36. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






38. The _______ operator determines common rows.






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


40. List the different types of data dictionary views.






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






42. What does SQL stand for?






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






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






45. Write a statement that drops the index need_to_pass_i






46. NUMBER functions can be...






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






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






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






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