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






2. The focus of the logical data model is _____________






3. NUMBER functions can be...






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






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






6. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






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






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






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






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






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






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






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






14. Which operator is most commonly used?






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






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






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






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






19. LINESIZE






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






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






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






23. Comparison operators can compare multiple _________________.






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






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






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






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






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






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






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






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






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






33. PAGESIZE






34. __________________ inserts the current date and time.






35. The ________ operator cannot compare against a list of values.






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






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






38. List the steps performed by a correlated subquery.






39. The RTRIM function is useful for eliminating ________ in a string.






40. Write a statement that drops the index need_to_pass_i






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






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






43. Subqueries can return...






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






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






46. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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






48. The _____________ clause determines how rows are grouped.






49. When you have issued a DELETE command - you can still ________ those rows and restore the information.






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