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. Match each of the SQL commands on the left with a verb from the list.






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






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






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






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






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






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






8. A transaction is a...






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






10. List 4 aggregate functions






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






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






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






14. LINESIZE






15. FEEDBACK






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






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






18. When column names on the tables are different - you use the ______ condition.






19. What is the data type you can use if you need an unlimited number of textual characters?






20. What are the main components of a ROWID?






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






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






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






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






25. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






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






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






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






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






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






35. Explain in detail the impact of INDEXES and how they are used by Oracle.






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






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






38. The query retrieves more than 5 to 15 percent of the rows






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


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






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






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






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






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






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






46. ____________ are useful for analyzing and exploring the relationships within your data






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






48. List the different types of data dictionary views.






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






50. What is the name of the key automatically generated from a sequence?