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 ALTER SESSION statement can change the session's...






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






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






4. SELECT LIST of a subquery in an INSERT statement






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






6. A transaction is a...






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






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






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






10. The ____________ command makes changes permanent.






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






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






13. What does SQL stand for?






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






15. NUMBER functions can be...






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






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






18. The purpose of the HAVING clause is to eliminate___________.






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






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






21. SELECT * FROM instructor ORDER BY phone






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






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






24. It is considered good form to put all SQL commands in...






25. Explain what is found in the All Objects report folder in SQL Developer






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






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






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


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






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






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






32. What do views do that makes them so useful for security?






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






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


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






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






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






38. The ________ operator cannot compare against a list of values.






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






40. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






41. You use the __________ keyword to change characteristics of a column.






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






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






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






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






46. What are the main components of a ROWID?






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






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






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






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