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


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






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






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






5. The ____________ command makes changes permanent.






6. __________________ inserts the current date and time.






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






8. List the steps performed by a correlated subquery.






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






10. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






12. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






18. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...






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






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






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






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






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






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






25. Which operator is most commonly used?






26. PAGESIZE






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






28. A transaction is a...






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






30. List the different types of data dictionary views.






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






32. Explain what a static data dictionary view is and how it is used






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






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






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






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






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






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






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


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






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






42. LINESIZE






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






44. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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