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. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






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






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






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






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






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






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






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






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






10. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






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






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






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






14. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






15. The COUNT function uses the __________ wildcard.






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






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






18. Users can only see changes made to a database once they have been...






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






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






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






22. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






28. List 4 aggregate functions






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






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






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






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






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






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






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






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






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






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






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






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






41. What is the keyboard shortcut for the ROLLBACK command?






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






43. You use the __________ keyword to change characteristics of a column.






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






45. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






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






47. PAGESIZE






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






49. What do views do that makes them so useful for security?






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