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. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






2. Dynamic views begin with a ___________.






3. LINESIZE






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






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






6. List the steps performed by a correlated subquery.






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






8. The focus of the logical data model is _____________






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






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






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






12. Write a statement that drops the index need_to_pass_i






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






14. What are the main components of a ROWID?






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






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






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






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






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






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






21. The _______ operator determines common rows.






22. Self-joins are useful for performing comparisons and checking for ___________ in data.






23. List the different types of data dictionary views.






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






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






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






27. Explicit data type conversion is preferable to Oracle's...






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






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






30. The DUAL table can be used for...






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






32. __________________ inserts the current date and time.






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






34. Comparison operators can compare multiple _________________.






35. The COUNT function is useful for determining whether a table has...






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






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






38. SELECT * FROM instructor ORDER BY phone






39. List 4 aggregate functions






40. The ALTER SESSION statement can change the session's...






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






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






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






44. The using clause of the ANSI join syntax always assumes an...






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






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






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






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. _________________ relationships are always optional relationships.






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