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. List the reasons that a subquery could not be unnested.






2. LINESIZE






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






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






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






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






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






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






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






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






11. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






12. PAGESIZE






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






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






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






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






17. __________________ inserts the current date and time.






18. Subqueries can return...






19. What is the keyboard shortcut for the ROLLBACK command?






20. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






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


24. List the steps performed by a correlated subquery.






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






26. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






27. _________________ relationships are always optional relationships.






28. Dynamic views begin with a ___________.






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






30. FEEDBACK






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






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






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






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






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






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






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






38. The ____________ command makes changes permanent.






39. The _______ operator determines common rows.






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






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






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






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






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






45. NUMBER functions can be...






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






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






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


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






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