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. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






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






4. Which operator is most commonly used?






5. What is the keyboard shortcut for the ROLLBACK command?






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






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






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






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






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






11. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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






21. Explain the steps needed to run a script in SQL Developer






22. What does SQL stand for?






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






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






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






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






27. The COUNT function uses the __________ wildcard.






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






29. The focus of the logical data model is _____________






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






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






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






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






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






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






36. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


37. Write a statement that drops the index need_to_pass_i






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






39. Dynamic views begin with a ___________.






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






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






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






43. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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






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






46. List the steps performed by a correlated subquery.






47. __________________ inserts the current date and time.






48. A join across three tables can be expressed with the ________ join syntax.






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






50. Write the syntax to rename index just_two_more_weeks_i to finally_i