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. It is considered good form to put all SQL commands in...






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






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






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


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






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






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






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






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






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






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






12. PAGESIZE






13. Subqueries can return...






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






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






16. __________________ inserts the current date and time.






17. Which operator is most commonly used?






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






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






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






21. Dynamic views begin with a ___________.






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






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. Write a statement that drops the index need_to_pass_i






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






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






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






28. FEEDBACK






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






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






31. The ________ operator cannot compare against a list of values.






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






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






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






35. What is the most common DATE format found in SQL?






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






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






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






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






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






41. The COUNT function uses the __________ wildcard.






42. Converting a text literal to DATE format requires the use of the...






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






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






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






46. SELECT * FROM instructor ORDER BY phone






47. List 6 Table-Related Menu Choices






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






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






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