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 ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






2. The RTRIM function is useful for eliminating ________ in a string.






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






4. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...






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






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






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






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






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






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






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






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






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






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






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






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






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






18. What does SQL stand for?






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






20. The _______ operator determines common rows.






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






22. The _____________ clause determines how rows are grouped.






23. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






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






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






26. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






28. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






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






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






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






33. LINESIZE






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






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






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






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






38. What is the data type you can use if you need an unlimited number of textual characters?






39. Which format mask displays December 31st - 1999?






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






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






42. The _______ function adds values together for a group of rows.






43. SELECT * FROM instructor ORDER BY phone






44. NUMBER functions can be...






45. Another name for a data dictionary view is __________________ or _________________.






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






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






48. The _______ function lets you perform if-then-else functionality with the SQL language.






49. __________________ inserts the current date and time.






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