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






2. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






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






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






9. Match each of the SQL commands on the left with a verb from the list.






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






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






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






13. List the different types of data dictionary views.






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






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






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






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






18. The ____________ command makes changes permanent.






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






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






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






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






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






24. Which operator is most commonly used?






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






26. What does SQL stand for?






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






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






29. When writing an ANSI outer join - the keywords _________ OUTER and _________ OUTER are added to the __________ keyword to indicate the rows from which table to use.






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






31. When is it not a good idea to use an index?






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






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






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






35. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.






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






37. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






38. The focus of the logical data model is _____________






39. List 4 aggregate functions






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


41. Dynamic views begin with a ___________.






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






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






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






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






46. The ___________ operator tests whether a matching row cannot be found.






47. To restart a sequence at a lower number - you can drop and ________ the sequence.






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






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






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