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. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






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






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






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






6. __________________ inserts the current date and time.






7. NUMBER functions can be...






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






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






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






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






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






13. A transaction is a...






14. The ________ operator cannot compare against a list of values.






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






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






17. What are the main components of a ROWID?






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






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






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






21. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






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






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






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






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






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






27. Subqueries can return...






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






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






30. The _____________ clause determines how rows are grouped.






31. The _______ operator determines common rows.






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


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






34. The ____________ command makes changes permanent.






35. List the steps performed by a correlated subquery.






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






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






38. What is the first column of a composite index called?






39. List 6 Table-Related Menu Choices






40. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






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






44. To equijoin a table with another table involves matching the...






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






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






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






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






49. The same function can be used ______ in a SELECT statement.






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