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. Write a statement for SQL*Plus that shows the dictionary.






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






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






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






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






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






7. Explain how Substitution Variables are used when writing scripts.






8. What does SQL stand for?






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






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






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






12. What are the main components of a ROWID?






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






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






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






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






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






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






19. The ______ depicts the M of a 1:M relationship.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


20. Explicit data type conversion is preferable to Oracle's...






21. Explain why constraints are used when building tables.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






26. NUMBER functions can be...






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






28. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






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






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






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






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






33. Subqueries can return...






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






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






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






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






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






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






40. PAGESIZE






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






42. List 6 Table-Related Menu Choices






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






44. The _______ operator determines common rows.






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






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






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






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






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






50. List 4 aggregate functions