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 ______ operator compares a list of values for equivalency






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






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






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






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






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






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






8. What does SQL stand for?






9. List 4 aggregate functions






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






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


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






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






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






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






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






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






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






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






20. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






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






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






23. FEEDBACK






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






25. __________________ inserts the current date and time.






26. List the different types of data dictionary views.






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






28. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






32. NUMBER functions can be...






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






34. Subqueries can return...






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






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


37. Write a statement that drops the index need_to_pass_i






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






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






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






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






42. _________________ relationships are always optional relationships.






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






44. The _______ operator determines common rows.






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


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






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






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






49. The ____________ command makes changes permanent.






50. SELECT LIST of a subquery in an INSERT statement