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


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






3. __________________ inserts the current date and time.






4. How many characters can be stored in the CHAR column/field?






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






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






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






8. The focus of the logical data model is _____________






9. SQL*Plus is used more than SQL Developer when you need to...






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






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






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






13. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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






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






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






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






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






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






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






21. List the steps performed by a correlated subquery.






22. Explain how Substitution Variables are used when writing scripts.






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






24. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






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






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






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






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






30. Which format mask displays December 31st - 1999?






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






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






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






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






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






36. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






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






42. PAGESIZE






43. 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?






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






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






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






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






48. The _____________ clause determines how rows are grouped.






49. Comparison operators can compare multiple _________________.






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