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. The same function can be used ______ in a SELECT statement.






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






3. LINESIZE






4. NUMBER functions can be...






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






6. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






8. Converting a text literal to DATE format requires the use of the...






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






10. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






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






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






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






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






15. It is considered good form to put all SQL commands in...






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






17. A transaction is a...






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






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. In SQL Developer field names and table names are shown in the color _______.






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






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






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






24. The _______ operator determines common rows.






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






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






27. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






30. PAGESIZE






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






32. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error






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






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






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






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






37. SELECT * FROM instructor ORDER BY phone






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






39. List 4 aggregate functions






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






41. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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


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






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






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






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






49. The COUNT function uses the __________ wildcard.






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