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 _______ function lets you perform if-then-else functionality with the SQL language.






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






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






4. __________________ inserts the current date and time.






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






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






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






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






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






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






11. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






16. List the different types of data dictionary views.






17. Explain what is found in the All Objects report folder in SQL Developer






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






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






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






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






22. When is it not a good idea to use an index?






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. To restart a sequence at a lower number - you can drop and ________ the sequence.






25. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






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






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






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






29. What is the most common DATE format found in SQL?






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






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






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






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






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






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






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






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






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






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






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






41. Subqueries can return...






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






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






44. What is the keyboard shortcut for the ROLLBACK command?






45. The COUNT function uses the __________ wildcard.






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






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






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






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






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