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. The key that most database designers prefer and is chosen by the system is the _____________ key.






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






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






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






5. _________________ relationships are always optional relationships.






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






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






8. LINESIZE






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






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






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






12. SELECT LIST of a subquery in an INSERT statement






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






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






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






16. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.






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






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






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






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






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






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






23. A transaction is a...






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






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






26. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






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






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


35. What is the name of the key automatically generated from a sequence?






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






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






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






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






40. The focus of the logical data model is _____________






41. It is always good practice to include the old values in the WHERE clause of UPDATE to ensure that another session or user _________________ in the meantime.






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






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






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






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






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






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






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






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






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