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. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






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






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






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






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






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






7. In a view you can give a column a different name than it has in the...






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






9. List the steps performed by a correlated subquery.






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






11. What are the main components of a ROWID?






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






13. The query retrieves more than 5 to 15 percent of the rows






14. Comparison operators can compare multiple _________________.






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






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






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






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


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






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






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






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






23. List 6 Table-Related Menu Choices






24. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






27. To equijoin a table with another table involves matching the...






28. LINESIZE






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






44. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






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






50. __________________ inserts the current date and time.