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. Returns rows if the condition is true for all the values in the list






2. You use the __________ keyword to change characteristics of a column.






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






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






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






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






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






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






9. Which operator is most commonly used?






10. SELECT * FROM instructor ORDER BY phone






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






12. What does SQL stand for?






13. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






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






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






17. The _______ operator determines common rows.






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






19. _________________ relationships are always optional relationships.






20. Comparison operators can compare multiple _________________.






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






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






23. Explain the steps needed to run a script in SQL Developer






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






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






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






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






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






29. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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


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






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






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






36. UNION ALL does not sort - therefore it is less time consuming to use than the...






37. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






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






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






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






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






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






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






45. SELECT LIST of a subquery in an INSERT statement






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






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






48. In SQL Developer field names and table names are shown in the color _______.






49. __________________ inserts the current date and time.






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