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. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






2. A calculation with a null always yields...






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






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






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






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






7. Converting a text literal to DATE format requires the use of the...






8. _________________ relationships are always optional relationships.






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






10. __________________ inserts the current date and time.






11. The _______ operator determines common rows.






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






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






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


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






16. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






17. Dynamic views begin with a ___________.






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






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






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






21. Write the syntax to rename index just_two_more_weeks_i to finally_i






22. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






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






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






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






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






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






29. The _____________ clause determines how rows are grouped.






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






31. When column names on the tables are different - you use the ______ condition.






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






33. Write a statement that drops the index need_to_pass_i






34. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






35. A transaction is a...






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






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






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






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






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






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






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






43. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






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






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






47. Which operator is most commonly used?






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






49. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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