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. Oracle uses the outer join operator to indicate that nulls are shown for...






2. LINESIZE






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






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






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






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






7. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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






15. The COUNT function uses the __________ wildcard.






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






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






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






19. Write a solution that adds 20 minutes to a given date.






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






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






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






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






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






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






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






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






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






29. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






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






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






33. The _______ operator determines common rows.






34. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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






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






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






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






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






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






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






43. A transaction is a...






44. SELECT LIST of a subquery in an INSERT statement






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






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






47. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






48. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






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






50. FEEDBACK