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 writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






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






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






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






5. Which operator is most commonly used?






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






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






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






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






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






11. _________ rows are not allowed in the relational model.






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






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






14. The _______ operator determines common rows.






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






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






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






18. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






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






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






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






23. UNION ALL does not sort - therefore it is less time consuming to use than the...






24. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






26. SELECT LIST of a subquery in an INSERT statement






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






28. LINESIZE






29. The COUNT function uses the __________ wildcard.






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






31. The focus of the logical data model is _____________






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


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






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






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






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


37. List the different types of data dictionary views.






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






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






40. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






43. __________________ inserts the current date and time.






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






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






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






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






48. FEEDBACK






49. A join across three tables can be expressed with the ________ join syntax.






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