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. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






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






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






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






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






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






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






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






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


12. The _____________ clause determines how rows are grouped.






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






14. FEEDBACK






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






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






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






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






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






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






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






22. List 4 aggregate functions






23. Checks whether any value in the list makes the condition true.






24. SELECT * FROM instructor ORDER BY phone






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






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






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






28. The focus of the logical data model is _____________






29. List the reasons that a subquery could not be unnested.






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






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






32. The _______ operator determines common rows.






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






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






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






36. Comparison operators can compare multiple _________________.






37. Subqueries can return...






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






39. NUMBER functions can be...






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






41. Write the syntax to rename index just_two_more_weeks_i to finally_i






42. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






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






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






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






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






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






48. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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






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