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. Another name for a data dictionary view is __________________ or _________________.






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






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






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


5. __________________ inserts the current date and time.






6. Explain the steps needed to run a script in SQL Developer






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






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






9. The ______ operator compares a list of values for equivalency






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






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






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






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






14. List 6 Table-Related Menu Choices






15. The TRUNC function on a date without a format model truncates the timestamp to...






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






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






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






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


20. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






26. Which format mask displays December 31st - 1999?






27. Comparison operators can compare multiple _________________.






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






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






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






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






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






33. NUMBER functions can be...






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






35. What are the main components of a ROWID?






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






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






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






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






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






41. What is the maximum value for a column defined as NUMBER(4 -2)?






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






43. What does SQL stand for?






44. The ___________ operator tests whether a matching row cannot be found.






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






46. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.






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






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






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






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