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 COUNT function is useful for determining whether a table has...






2. List 4 aggregate functions






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






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






5. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






8. The _____________ clause determines how rows are grouped.






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






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






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






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






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






14. What are the main components of a ROWID?






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






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






17. Dynamic views begin with a ___________.






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






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






20. Queries that are found in parentheses are done first - just as in the order of operations when doing...






21. List the steps performed by a correlated subquery.






22. List 6 Table-Related Menu Choices






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






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






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






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






27. List the different types of data dictionary views.






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






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






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






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






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






33. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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






35. PAGESIZE






36. SELECT * FROM instructor ORDER BY phone






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






38. Joins involving multiple columns must always follow the ____________ relationship path.






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






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






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






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






43. LINESIZE






44. The using clause of the ANSI join syntax always assumes an...






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






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






47. SELECT LIST of a subquery in an INSERT statement






48. NUMBER functions can be...






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






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