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. A calculation with a null always yields...






2. Write the syntax to rename index just_two_more_weeks_i to finally_i






3. The _______ operator determines common rows.






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






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






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






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






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






9. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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






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






12. UNION ALL does not sort - therefore it is less time consuming to use than the...






13. Subqueries can return...






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






15. PAGESIZE






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






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






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






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






20. The _____________ clause determines how rows are grouped.






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






22. The ____________ command makes changes permanent.






23. SELECT LIST of a subquery in an INSERT statement






24. List 4 aggregate functions






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






26. List 6 Table-Related Menu Choices






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






28. Dynamic views begin with a ___________.






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






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






31. FEEDBACK






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






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






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






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






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






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






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






39. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






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






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






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






44. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






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






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






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






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






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






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