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






2. Comparison operators can compare multiple _________________.






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






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






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






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






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






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






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






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






11. What does SQL stand for?






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






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






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






15. List the steps performed by a correlated subquery.






16. List the different types of data dictionary views.






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






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






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






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






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






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


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






24. The query retrieves more than 5 to 15 percent of the rows






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






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






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






28. _________ rows are not allowed in the relational model.






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






30. Write a statement that drops the index need_to_pass_i






31. Subqueries can return...






32. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






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






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






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






37. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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






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






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






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






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






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






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






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