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 the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






3. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






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






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






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






8. What does SQL stand for?






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






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






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






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






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






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






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






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






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






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






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






20. The RTRIM function is useful for eliminating ________ in a string.






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






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


23. SELECT LIST of a subquery in an INSERT statement






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






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






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






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






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






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






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






31. Dynamic views begin with a ___________.






32. PAGESIZE






33. List 4 aggregate functions






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






35. The focus of the logical data model is _____________






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






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






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






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






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






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






42. Write the syntax to rename index just_two_more_weeks_i to finally_i






43. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






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






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






46. __________________ inserts the current date and time.






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






48. The _______ operator determines common rows.






49. List the reasons that a subquery could not be unnested.






50. What is Oracle's most popular index storage structure?