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. What is the data type you can use if you need an unlimited number of textual characters?






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






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

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


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






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






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






7. The ROWID pseudocolumn is not an ________- but it acts like one.






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






9. LINESIZE






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






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






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






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






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






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






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






17. What does SQL stand for?






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






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






20. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






21. NUMBER functions can be...






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






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






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






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






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






27. The ____________ command makes changes permanent.






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






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






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






31. Explain why constraints are used when building tables.

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


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






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






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






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






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






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






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






39. The focus of the logical data model is _____________






40. FEEDBACK






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






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






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






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






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


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






47. SELECT LIST of a subquery in an INSERT statement






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






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






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