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 you run a script in SQL*Plus you must give the...






2. What are the main components of a ROWID?






3. __________________ inserts the current date and time.






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






5. 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?






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






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






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






9. The focus of the logical data model is _____________






10. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






16. List 4 aggregate functions






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






18. The ___________ operator tests whether a matching row cannot be found.






19. The time zone displacement value indicates the time difference from _______.






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






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






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






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






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






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






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






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. The RTRIM function is useful for eliminating ________ in a string.






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






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






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






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






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






34. SELECT LIST of a subquery in an INSERT statement






35. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






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






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






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






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






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






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






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






49. The _____________ clause determines how rows are grouped.






50. The COUNT function uses the __________ wildcard.