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 Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






2. What are the main components of a ROWID?






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






4. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






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






8. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






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






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






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






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






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






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






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






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






17. In SQL Developer field names and table names are shown in the color _______.






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






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






20. When is it not a good idea to use an index?






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






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






23. The _______ operator determines common rows.






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






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






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


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






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






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






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






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






32. LINESIZE






33. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






35. List the different types of data dictionary views.






36. PAGESIZE






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






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






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






40. The _____________ clause determines how rows are grouped.






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






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






43. Dynamic views begin with a ___________.






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






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






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






47. List 6 Table-Related Menu Choices






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






49. _________________ relationships are always optional relationships.






50. What is the maximum value for a column defined as NUMBER(4 -2)?