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. __________________ inserts the current date and time.






2. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






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






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. Checks whether any value in the list makes the condition true.






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






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






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






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






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






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






19. Write a statement that drops the index need_to_pass_i






20. The _____________ clause determines how rows are grouped.






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






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


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






24. The ___________ operator tests whether a matching row cannot be found.






25. The ____________ command makes changes permanent.






26. List 4 aggregate functions






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






28. List the steps performed by a correlated subquery.






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






30. Subqueries can return...






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






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






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






34. PAGESIZE






35. LINESIZE






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






37. The _______ operator determines common rows.






38. Comparison operators can compare multiple _________________.






39. The focus of the logical data model is _____________






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






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






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






43. Explain how Substitution Variables are used when writing scripts.






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






45. What are the main components of a ROWID?






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






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






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






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






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