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. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






2. The __________ operator is inclusive of the two values specified.






3. SELECT LIST of a subquery in an INSERT statement






4. What are the main components of a ROWID?






5. NUMBER functions can be...






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






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






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






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






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






11. The ____________ command makes changes permanent.






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






13. The _______ operator determines common rows.






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






15. The key that most database designers prefer and is chosen by the system is the _____________ key.






16. The COUNT function uses the __________ wildcard.






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






18. PAGESIZE






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






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






21. SQL*Plus is used more than SQL Developer when you need to...






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






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






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






25. What does SQL stand for?






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






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






28. Which operator is most commonly used?






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






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






31. A transaction is a...






32. LINESIZE






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






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






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


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






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






38. __________________ inserts the current date and time.






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






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






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






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






43. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






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






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






47. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...






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


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






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