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. Write a statement for SQL*Plus that shows the dictionary.






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






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






5. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






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






8. SELECT * FROM instructor ORDER BY phone






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






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






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






12. Match each of the SQL commands on the left with a verb from the list.






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






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






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






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






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






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






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






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






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






22. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






24. What is the data type you can use if you need an unlimited number of textual characters?






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






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






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






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






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






30. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






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






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






35. When is it not a good idea to use an index?






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






37. Subqueries can return...






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






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






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






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






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






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






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






45. Write the syntax to rename index just_two_more_weeks_i to finally_i






46. Comparison operators can compare multiple _________________.






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






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






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






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