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. What is the first column of a composite index called?






2. The purpose of the HAVING clause is to eliminate___________.






3. The focus of the logical data model is _____________






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


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






6. List 6 Table-Related Menu Choices






7. NUMBER functions can be...






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






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






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






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






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






13. Dynamic views begin with a ___________.






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






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






16. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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






23. The using clause of the ANSI join syntax always assumes an...






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






25. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






28. List the steps performed by a correlated subquery.






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






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






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






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






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






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






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






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






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






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






39. To join four tables - you must have at least _____ join conditions.






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






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






42. __________________ inserts the current date and time.






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






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






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






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






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






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






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






50. What is the main difference between the NOT EXISTS and the NOT IN operators?