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. _________ and __________ functions are opposites of each other and provide a value in a group of rows.






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






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






4. __________________ inserts the current date and time.






5. What are the main components of a ROWID?






6. What is Oracle's most popular index storage structure?






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






8. Which operator is most commonly used?






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






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






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






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






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






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






15. List the reasons that a subquery could not be unnested.






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






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






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






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






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






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






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






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






24. The _____________ clause determines how rows are grouped.






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






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






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






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






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






30. Subqueries can return...






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






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






33. List the steps performed by a correlated subquery.






34. _________________ relationships are always optional relationships.






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






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






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






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






39. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






41. When you run a script in SQL*Plus you must give the...






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






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






44. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






45. List 4 aggregate functions






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






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






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






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


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






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests