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. Joins involving multiple columns must always follow the ____________ relationship path.






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






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






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






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






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






7. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






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






9. What are the main components of a ROWID?






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






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






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






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






14. List the different types of data dictionary views.






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






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






17. SELECT LIST of a subquery in an INSERT statement






18. Explain what a static data dictionary view is and how it is used






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






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






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






22. PAGESIZE






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






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






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






26. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.






27. What is the tab in SQL Developer where data dictionary view information can be found?






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






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






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






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






32. The COUNT function uses the __________ wildcard.






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






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






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






36. You use the _________ keyword to add columns or constraints to a table.






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






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






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






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


41. Subqueries can return...






42. The focus of the logical data model is _____________






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






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






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






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






47. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.






48. The _______ operator determines common rows.






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






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