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. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






3. List the different types of data dictionary views.






4. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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






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






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






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






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






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






17. The _____________ clause determines how rows are grouped.






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






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






20. The ____________ command makes changes permanent.






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






22. PAGESIZE






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






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






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






26. NUMBER functions can be...






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






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






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






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






31. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






35. What does SQL stand for?






36. The _______ operator determines common rows.






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






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






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






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






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






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






43. The time zone displacement value indicates the time difference from _______.






44. Comparison operators can compare multiple _________________.






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






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






47. List 4 aggregate functions






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






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






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