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. A join across three tables can be expressed with the ________ join syntax.






2. A transaction is a...






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






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






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






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






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






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






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






10. _________________ relationships are always optional relationships.






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






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






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






14. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






15. It is considered good form to put all SQL commands in...






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






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






18. When you have issued a DELETE command - you can still ________ those rows and restore the information.






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






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






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






22. The ____________ command makes changes permanent.






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






24. FEEDBACK






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






26. NUMBER functions can be...






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






28. Dynamic views begin with a ___________.






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






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






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






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






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






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






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






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






37. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






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






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






41. __________________ inserts the current date and time.






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






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






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






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






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






47. What are the main components of a ROWID?






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






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






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