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 _____________ clause determines how rows are grouped.






2. What is the main difference between the NOT EXISTS and the NOT IN operators?






3. _________________ relationships are always optional relationships.






4. SELECT LIST of a subquery in an INSERT statement






5. The ____________ command makes changes permanent.






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






7. List 4 aggregate functions






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






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






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






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






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






13. The focus of the logical data model is _____________






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






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






16. PAGESIZE






17. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






19. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






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






21. The COUNT function uses the __________ wildcard.






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






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






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






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






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






27. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






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






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






30. __________________ inserts the current date and time.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






47. ____________ are useful for analyzing and exploring the relationships within your data






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






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






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