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 data type definitions NUMBER(10) and NUMBER(10 -0) are the...






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






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






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






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






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






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






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






9. List 4 aggregate functions






10. Explain what a static data dictionary view is and how it is used






11. NUMBER functions can be...






12. FEEDBACK






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






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






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






16. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






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






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






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






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






21. You can use the ________________ to subtract months from a given date.






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






23. A transaction is a...






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






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






26. Which operator is most commonly used?






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






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






29. SELECT * FROM instructor ORDER BY phone






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






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






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






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






34. What is the tab in SQL Developer where data dictionary view information can be found?






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






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






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






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






39. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






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






43. What does SQL stand for?






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






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






46. What is the data type you can use if you need an unlimited number of textual characters?






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






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






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






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