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 query retrieves more than 5 to 15 percent of the rows






2. Explain in detail the impact of INDEXES and how they are used by Oracle.






3. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






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






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






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






8. The _____________ clause determines how rows are grouped.






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






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






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






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






13. A transaction is a...






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






15. Converting a text literal to DATE format requires the use of the...






16. You can pass parameters from the operating system when ___________ in SQl*Plus






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






18. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






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






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






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






22. SELECT LIST of a subquery in an INSERT statement






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






24. List 4 aggregate functions






25. LINESIZE






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






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






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






29. __________________ inserts the current date and time.






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






31. Dynamic views begin with a ___________.






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






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






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






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






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






37. SELECT * FROM instructor ORDER BY phone






38. What does SQL stand for?






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






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






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






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






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






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






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






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






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






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






49. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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