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. To join four tables - you must have at least _____ join conditions.






2. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






5. Write a statement that drops the index need_to_pass_i






6. Returns rows if the condition is true for all the values in the list






7. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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


14. How many characters can you have using the VARCHAR data type?






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






16. It is considered good form to put all SQL commands in...






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






18. The _______ operator determines common rows.






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






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






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






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






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






24. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






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






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






27. Explain how Substitution Variables are used when writing scripts.






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






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






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






31. The _____________ clause determines how rows are grouped.






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






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






34. List the different types of data dictionary views.






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






36. What is Oracle's most popular index storage structure?






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






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






39. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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






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






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






43. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






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






46. NUMBER functions can be...






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






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






49. Explicit data type conversion is preferable to Oracle's...






50. The focus of the logical data model is _____________