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. Another name for a data dictionary view is __________________ or _________________.






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






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






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






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






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






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






8. What is Oracle's most popular index storage structure?






9. The ____________ command makes changes permanent.






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






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






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






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






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






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






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






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






18. ____________ are useful for analyzing and exploring the relationships within your data






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






20. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






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






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






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






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






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






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






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






28. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






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






35. A transaction is a...






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


37. List the steps performed by a correlated subquery.






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






39. A calculation with a null always yields...






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






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






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






43. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






48. The key that most database designers prefer and is chosen by the system is the _____________ key.






49. What does SQL stand for?






50. Write the syntax to rename index just_two_more_weeks_i to finally_i