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. When column names on the tables are different - you use the ______ condition.






2. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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






10. Dynamic views begin with a ___________.






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






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


13. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

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


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






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






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






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






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






19. The ____________ command makes changes permanent.






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






21. FEEDBACK






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






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






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






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






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






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






28. Which operator is most commonly used?






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






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






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






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






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






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






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






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






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






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


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






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






41. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...






42. You use the _________ keyword to add columns or constraints to a table.






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






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






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






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






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






48. A calculation with a null always yields...






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






50. __________________ inserts the current date and time.