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. The _______ function adds values together for a group of rows.






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






3. Subqueries can return...






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






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






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


9. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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






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






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


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






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






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






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






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






18. A transaction is a...






19. The _____________ clause determines how rows are grouped.






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






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






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






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






24. __________________ inserts the current date and time.






25. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






28. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






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






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






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






33. A join across three tables can be expressed with the ________ join syntax.






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






35. The time zone displacement value indicates the time difference from _______.






36. To restart a sequence at a lower number - you can drop and ________ the sequence.






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






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






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






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






41. What are the main components of a ROWID?






42. Match each of the SQL commands on the left with a verb from the list.






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






44. PAGESIZE






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






46. Write a statement that drops the index need_to_pass_i






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






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






49. NUMBER functions can be...






50. The focus of the logical data model is _____________