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. Explain in detail the impact of INDEXES and how they are used by Oracle.






2. What is the name of the key automatically generated from a sequence?






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






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






5. Which operator is most commonly used?






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






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






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






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






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






11. List 4 aggregate functions






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






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






14. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






16. The term ____________ ___________ is used to express a join that satisfies the join condition.






17. When is it not a good idea to use an index?






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






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






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






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






22. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






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






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






27. What does SQL stand for?






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






29. The COUNT function uses the __________ wildcard.






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






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






32. The _____________ clause determines how rows are grouped.






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






34. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.






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






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. A join across three tables can be expressed with the ________ join syntax.






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






39. NUMBER functions can be...






40. Write the syntax to rename index just_two_more_weeks_i to finally_i






41. Write a statement that drops the index need_to_pass_i






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






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






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






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






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






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






48. You can use the ________________ to subtract months from a given date.






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






50. Explain what a static data dictionary view is and how it is used