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. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






2. A transaction is a...






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






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






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






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






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






8. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






9. Subqueries can return...






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






11. Write a statement that drops the index need_to_pass_i






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






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






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






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






16. Which one of the following string functions tells you how many characters are in a string?






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






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






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






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






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






22. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






23. Write the syntax to rename index just_two_more_weeks_i to finally_i






24. Self-joins are useful for performing comparisons and checking for ___________ in data.






25. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






26. The using clause of the ANSI join syntax always assumes an...






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






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






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






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


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






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






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






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






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






36. List 4 aggregate functions






37. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






38. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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


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






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






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






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






44. How many characters can you have using the VARCHAR data type?






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






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






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






48. List the different types of data dictionary views.






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






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