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. Converting a text literal to DATE format requires the use of the...






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






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






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






5. Dynamic views begin with a ___________.






6. Oracle uses the outer join operator to indicate that nulls are shown for...






7. A transaction is a...






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






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






10. SELECT LIST of a subquery in an INSERT statement






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






12. The ____________ command makes changes permanent.






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






14. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.






15. Joins involving multiple columns must always follow the ____________ relationship path.






16. The _____________ clause determines how rows are grouped.






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






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






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






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






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






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






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


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






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






26. Write a solution that adds 20 minutes to a given date.






27. __________________ inserts the current date and time.






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






29. A join across three tables can be expressed with the ________ join syntax.






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






31. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






33. UNION ALL does not sort - therefore it is less time consuming to use than the...






34. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






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






36. List 4 aggregate functions






37. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






40. The _______ operator determines common rows.






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






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






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






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






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






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






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






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






49. The COUNT function uses the __________ wildcard.






50. What are the main components of a ROWID?