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. SQL*Plus is used more than SQL Developer when you need to...






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






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






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






5. NUMBER functions can be...






6. Explain how Dynamic SQL is used and give an example of a Dynamic SQL statement.






7. What does SQL stand for?






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






9. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.


10. List 6 Table-Related Menu Choices






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






12. A _________ subquery returns a single column with a single row






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






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






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






16. List 4 aggregate functions






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






18. Write a statement that drops the index need_to_pass_i






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






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






21. FEEDBACK






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






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






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






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






26. List the different types of data dictionary views.






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






28. What is Oracle's most popular index storage structure?






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






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






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






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






33. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






34. The ALTER SESSION statement can change the session's...






35. The COUNT function uses the __________ wildcard.






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






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






38. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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






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






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






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






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






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






50. The ______ depicts the M of a 1:M relationship.