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. Write a statement for SQL*Plus that shows the dictionary.






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






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






4. LINESIZE






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






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






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






8. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






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






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






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






14. The _______ function lets you perform if-then-else functionality with the SQL language.






15. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






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






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






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






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






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






21. SELECT * FROM instructor ORDER BY phone






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






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






24. The _______ operator determines common rows.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






40. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






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






46. FEEDBACK






47. You use the __________ keyword to change characteristics of a column.






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






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






50. The ______ depicts the M of a 1:M relationship.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183