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. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






2. The ____________ command makes changes permanent.






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






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






5. In a view you can give a column a different name than it has in the...






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






7. The ___________ operator tests whether a matching row cannot be found.






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






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






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






11. You can pass parameters from the operating system when ___________ in SQl*Plus






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






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






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






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






16. Write a statement that drops the index need_to_pass_i






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






18. When column names on the tables are different - you use the ______ condition.






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






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






21. List 6 Table-Related Menu Choices






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






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






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






25. What does SQL stand for?






26. _________________ relationships are always optional relationships.






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






28. To equijoin a table with another table involves matching the...






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






30. __________________ inserts the current date and time.






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






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






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






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






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






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






37. SELECT LIST of a subquery in an INSERT statement






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






39. FEEDBACK






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






41. List the steps performed by a correlated subquery.






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






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






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






45. What is the most common DATE format found in SQL?






46. Explain why constraints are used when building tables.


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






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






49. SELECT * FROM instructor ORDER BY phone






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