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. Write the syntax to rename index just_two_more_weeks_i to finally_i






2. What does SQL stand for?






3. List the steps performed by a correlated subquery.






4. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






6. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






13. The ____________ command makes changes permanent.






14. PAGESIZE






15. Subqueries can return...






16. _________________ relationships are always optional relationships.






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


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






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






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






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






22. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






28. List 4 aggregate functions






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






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


31. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






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


35. What are the main components of a ROWID?






36. What is the data type you can use if you need an unlimited number of textual characters?






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






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






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






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






41. The _____________ clause determines how rows are grouped.






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






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






44. To place a line comment in your SQL statements - you first place a // at the beginning of the line.






45. In SQL Developer field names and table names are shown in the color _______.






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






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






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






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






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