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. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






3. Comparison operators can compare multiple _________________.






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






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






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






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






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






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






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






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






12. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






14. _________________ relationships are always optional relationships.






15. List 6 Table-Related Menu Choices






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






17. The COUNT function is useful for determining whether a table has...






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






19. SELECT * FROM instructor ORDER BY phone






20. Which one of the following string functions tells you how many characters are in a string?






21. Subqueries can return...






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






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






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






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






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






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






28. The ____________ command makes changes permanent.






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






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






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






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






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






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






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






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






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






38. The focus of the logical data model is _____________






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






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






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






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






43. FEEDBACK






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






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






46. UNION ALL does not sort - therefore it is less time consuming to use than the...






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






48. List the steps performed by a correlated subquery.






49. The ALTER SESSION statement can change the session's...






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