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 _______ operator determines common rows.






2. The time zone displacement value indicates the time difference from _______.






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






4. List 6 Table-Related Menu Choices






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






6. Which operator is most commonly used?






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






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






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






10. The _____________ clause determines how rows are grouped.






11. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






13. A _________ subquery returns a single column with a single row






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






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






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






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






18. Converting a text literal to DATE format requires the use of the...






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






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






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






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






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






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






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






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






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






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






29. FEEDBACK






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






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






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






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






34. A transaction is a...






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






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






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






38. SQL*Plus is used more than SQL Developer when you need to...






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






40. _________________ relationships are always optional relationships.






41. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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






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






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






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






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






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






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






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






50. What are the main components of a ROWID?