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. Explain how Substitution Variables are used when writing scripts.






2. List 4 aggregate functions






3. Which operator is most commonly used?






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






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






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






7. Comparison operators can compare multiple _________________.






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






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






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






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






12. NUMBER functions can be...






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






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






15. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






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






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






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






19. What is Oracle's most popular index storage structure?






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






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






22. FEEDBACK






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






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






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






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






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






28. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






29. Subqueries can return...






30. A calculation with a null always yields...






31. LINESIZE






32. List 6 Table-Related Menu Choices






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






34. Another name for a data dictionary view is __________________ or _________________.






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






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






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






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






39. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






40. A transaction is a...






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






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






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






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






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






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






47. Oracle uses the outer join operator to indicate that nulls are shown for...






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






49. Joins involving multiple columns must always follow the ____________ relationship path.






50. SELECT LIST of a subquery in an INSERT statement