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. SELECT LIST of a subquery in an INSERT statement






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






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






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






5. NUMBER functions can be...






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






7. The ______ operator compares a list of values for equivalency






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






9. List the different types of data dictionary views.






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






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






12. Write a statement that drops the index need_to_pass_i






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


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






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






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






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






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






19. Which operator is most commonly used?






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






21. The _____________ clause determines how rows are grouped.






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






23. List 4 aggregate functions






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






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






26. To join four tables - you must have at least _____ join conditions.






27. The COUNT function is useful for determining whether a table has...






28. __________________ inserts the current date and time.






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






30. List the steps performed by a correlated subquery.






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






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






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






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






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






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






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






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






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






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






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






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






43. SELECT * FROM instructor ORDER BY phone






44. Dynamic views begin with a ___________.






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






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






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






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






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






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