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. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






2. How many characters can you have using the VARCHAR data type?






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






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






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






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






7. PAGESIZE






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






9. What does SQL stand for?






10. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






11. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






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






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


14. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






18. What do views do that makes them so useful for security?






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






20. The _____________ clause determines how rows are grouped.






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






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






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






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






25. SELECT * FROM instructor ORDER BY phone






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






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






28. The focus of the logical data model is _____________






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






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






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


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






33. NUMBER functions can be...






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






35. The COUNT function uses the __________ wildcard.






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






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






38. In a view you can give a column a different name than it has in the...






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






40. It is considered good form to put all SQL commands in...






41. _________________ relationships are always optional relationships.






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






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






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






45. Dynamic views begin with a ___________.






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






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






48. Write a statement that drops the index need_to_pass_i






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






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