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. Oracle uses the outer join operator to indicate that nulls are shown for...






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






3. The focus of the logical data model is _____________






4. A transaction is a...






5. Write a statement that drops the index need_to_pass_i






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






7. You can use the ________________ to subtract months from a given date.






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






9. SELECT * FROM instructor ORDER BY phone






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






11. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






12. __________________ inserts the current date and time.






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






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






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






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






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






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






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






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






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






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






23. Explain how Dynamic SQL is used and give an example of a Dynamic SQL statement.






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






25. To join four tables - you must have at least _____ join conditions.






26. List the different types of data dictionary views.






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






28. FEEDBACK






29. SELECT LIST of a subquery in an INSERT statement






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






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






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






33. _________________ relationships are always optional relationships.






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






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






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






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


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






39. Match each of the SQL commands on the left with a verb from the list.






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






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






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






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






44. List 6 Table-Related Menu Choices






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






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






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






48. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






49. The ALTER SESSION statement can change the session's...






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