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. A _________ subquery returns a single column with a single row






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






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






4. The ____________ command makes changes permanent.






5. The __________ operator is inclusive of the two values specified.






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






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






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






9. Checks whether any value in the list makes the condition true.






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






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






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






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. What is the tab in SQL Developer where data dictionary view information can be found?






15. Which operator is most commonly used?






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






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






18. NUMBER functions can be...






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






20. The COUNT function uses the __________ wildcard.






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






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






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






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






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






26. Comparison operators can compare multiple _________________.






27. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






29. SELECT * FROM instructor ORDER BY phone






30. What does SQL stand for?






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






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






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






34. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






50. __________________ inserts the current date and time.