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 ___________ operator tests whether a matching row cannot be found.






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






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






4. Write a statement for SQL*Plus that shows the dictionary.






5. A _________ subquery returns a single column with a single row






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






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






8. __________________ inserts the current date and time.






9. How many characters can be stored in the CHAR column/field?






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






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






12. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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






14. List the steps performed by a correlated subquery.






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






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






17. Oracle uses the outer join operator to indicate that nulls are shown for...






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






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






20. The ____________ command makes changes permanent.






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






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






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






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






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


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






27. The _____________ clause determines how rows are grouped.






28. Write a statement that drops the index need_to_pass_i






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






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






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






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






33. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






34. NUMBER functions can be...






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






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






37. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






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






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






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






41. _________________ relationships are always optional relationships.






42. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






43. The _______ function lets you perform if-then-else functionality with the SQL language.






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






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






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






47. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


48. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...






49. When you have issued a DELETE command - you can still ________ those rows and restore the information.






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