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. Which format mask displays December 31st - 1999?






2. A transaction is a...






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






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






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






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






7. LINESIZE






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






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






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






11. List the steps performed by a correlated subquery.






12. _________________ relationships are always optional relationships.






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






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






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






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






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






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






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






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






21. Dynamic views begin with a ___________.






22. Explain the steps needed to run a script in SQL Developer






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






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






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






26. PAGESIZE






27. List the different types of data dictionary views.






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. __________________ inserts the current date and time.






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






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






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






33. The COUNT function is useful for determining whether a table has...






34. It is considered good form to put all SQL commands in...






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






36. List 6 Table-Related Menu Choices






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






38. _________ rows are not allowed in the relational model.






39. Another name for a data dictionary view is __________________ or _________________.






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






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






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






43. List 4 aggregate functions






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






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






46. The _______ operator determines common rows.






47. Subqueries can return...






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






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






50. Comparison operators can compare multiple _________________.