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 same function can be used ______ in a SELECT statement.






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






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






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






5. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






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






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






8. Comparison operators can compare multiple _________________.






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






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






11. The query retrieves more than 5 to 15 percent of the rows






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






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






14. To equijoin a table with another table involves matching the...






15. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






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






17. SELECT LIST of a subquery in an INSERT statement






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


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






20. Subqueries can return...






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






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






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






24. When you have issued a DELETE command - you can still ________ those rows and restore the information.






25. The ALTER SESSION statement can change the session's...






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






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






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






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






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






31. The focus of the logical data model is _____________






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






33. The ROWID pseudocolumn is not an ________- but it acts like one.






34. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






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






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






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






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






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






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






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






43. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






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






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. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






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


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