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. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






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






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






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






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






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






9. LINESIZE






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






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






12. Which operator is most commonly used?






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






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






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






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






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






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






19. __________________ inserts the current date and time.






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






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






22. PAGESIZE






23. _________________ relationships are always optional relationships.






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






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






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






27. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






28. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






30. _________ rows are not allowed in the relational model.






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






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






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






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






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






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






37. The _______ function lets you perform if-then-else functionality with the SQL language.






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






39. What does SQL stand for?






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






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






42. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






45. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






50. You can pass parameters from the operating system when ___________ in SQl*Plus