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. ____________ are useful for analyzing and exploring the relationships within your data






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






3. Explain how the SPOOL command is used and what program it can be used in.






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






5. The focus of the logical data model is _____________






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






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






8. The RTRIM function is useful for eliminating ________ in a string.






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






10. What is the tab in SQL Developer where data dictionary view information can be found?






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






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






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






14. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






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






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






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






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






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






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






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






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






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






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






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






26. FEEDBACK






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






28. The _____________ clause determines how rows are grouped.






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






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






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






32. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






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






43. What does SQL stand for?






44. PAGESIZE






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






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






47. To equijoin a table with another table involves matching the...






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






49. Another name for a data dictionary view is __________________ or _________________.






50. Explicit data type conversion is preferable to Oracle's...