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. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






21. NUMBER functions can be...






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


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






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






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. How many characters can you have using the VARCHAR data type?






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






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






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






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






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






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






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






34. What is the name of the key automatically generated from a sequence?






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






36. When column names on the tables are different - you use the ______ condition.






37. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






39. The ____________ command makes changes permanent.






40. __________________ inserts the current date and time.






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






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






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


44. SELECT * FROM instructor ORDER BY phone






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


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






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






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






49. Subqueries can return...






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