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. Checks whether any value in the list makes the condition true.






2. PAGESIZE






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






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






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. What are the main components of a ROWID?






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






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






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






10. Comparison operators can compare multiple _________________.






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






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






13. Which operator is most commonly used?






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






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






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






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






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






19. What is the name of the key automatically generated from a sequence?






20. Write a solution that adds 20 minutes to a given date.






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






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






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






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






25. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






26. Dynamic views begin with a ___________.






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






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






29. NUMBER functions can be...






30. What does SQL stand for?






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






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






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






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






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






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






37. The TRUNC function on a date without a format model truncates the timestamp to...






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






39. The focus of the logical data model is _____________






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






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






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






43. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






44. _________________ relationships are always optional relationships.






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






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






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






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






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






50. What is the data type you can use if you need an unlimited number of textual characters?