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. Which operator is most commonly used?






2. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






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






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






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






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






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






13. List the different types of data dictionary views.






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






15. In a view you can give a column a different name than it has in the...






16. What is the first column of a composite index called?






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






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






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






20. When column names on the tables are different - you use the ______ condition.






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






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






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






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






25. A transaction is a...






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






27. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






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






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






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






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






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






34. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






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






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






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






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






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






46. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






47. Write a statement that drops the index need_to_pass_i






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






49. Write a statement for SQL*Plus that shows the dictionary.






50. The ROWID pseudocolumn is not an ________- but it acts like one.