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


2. Which operator is most commonly used?






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






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






5. What does SQL stand for?






6. NUMBER functions can be...






7. PAGESIZE






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






9. The ____________ command makes changes permanent.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






32. Oracle uses the outer join operator to indicate that nulls are shown for...






33. The COUNT function uses the __________ wildcard.






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






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






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






37. List the steps performed by a correlated subquery.






38. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






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






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






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






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






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






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






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






47. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






49. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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