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. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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






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






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






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






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






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






8. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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


10. Which operator is most commonly used?






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






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






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






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






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






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






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






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






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






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






21. A _________ subquery returns a single column with a single row






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






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






24. LINESIZE






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






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






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


28. What are the main components of a ROWID?






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






30. Subqueries can return...






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






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






33. The ____________ command makes changes permanent.






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






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






36. The COUNT function uses the __________ wildcard.






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






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






39. _________________ relationships are always optional relationships.






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






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






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






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






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






45. SELECT LIST of a subquery in an INSERT statement






46. The RTRIM function is useful for eliminating ________ in a string.






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






48. Write a statement for SQL*Plus that shows the dictionary.






49. The _______ function lets you perform if-then-else functionality with the SQL language.






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