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. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






2. SELECT LIST of a subquery in an INSERT statement






3. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






5. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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


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






8. The __________ operator is inclusive of the two values specified.






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






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






11. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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






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






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






17. __________________ inserts the current date and time.






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






19. What is the keyboard shortcut for the ROLLBACK command?






20. The using clause of the ANSI join syntax always assumes an...






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






22. PAGESIZE






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






24. The focus of the logical data model is _____________






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






26. The ___________ operator tests whether a matching row cannot be found.






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






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






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






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






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






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






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






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






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






36. List 4 aggregate functions






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






38. SELECT * FROM instructor ORDER BY phone






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






40. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

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


41. List 6 Table-Related Menu Choices






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






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






44. NUMBER functions can be...






45. The ____________ command makes changes permanent.






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






47. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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