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. Explain how Dynamic SQL is used and give an example of a Dynamic SQL statement.






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






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






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






5. Write a solution that adds 20 minutes to a given date.






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






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






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






9. Explain how you can optimize your queries with subqueries and the main advantage of doing so.






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






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






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






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






14. LINESIZE






15. Dynamic views begin with a ___________.






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






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






18. SELECT LIST of a subquery in an INSERT statement






19. The focus of the logical data model is _____________






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






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






22. SELECT * FROM instructor ORDER BY phone






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






24. What does SQL stand for?






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






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






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






28. Match each of the SQL commands on the left with a verb from the list.






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






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






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






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


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






34. When using the following data: NUMBER(10 -4) - the # 10 is called the __________.






35. The ____________ command makes changes permanent.






36. _________________ relationships are always optional relationships.






37. It is considered good form to put all SQL commands in...






38. To restart a sequence at a lower number - you can drop and ________ the sequence.






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






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






41. In SQL Developer field names and table names are shown in the color _______.






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






43. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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