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. You use the __________ keyword to change characteristics of a column.






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






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






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






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






6. List the different types of data dictionary views.






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






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






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






10. LINESIZE






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






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






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






14. You use the _________ keyword to add columns or constraints to a table.






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






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






17. List 6 Table-Related Menu Choices






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






19. Explain why constraints are used when building tables.


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






21. The same function can be used ______ in a SELECT statement.






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






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






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






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






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






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






28. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






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






32. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...






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






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






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






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






37. Which operator is most commonly used?






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






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






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






41. The ______ depicts the M of a 1:M relationship.


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






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






44. List the steps performed by a correlated subquery.






45. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






50. FEEDBACK