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. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






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






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






5. The __________ operator is inclusive of the two values specified.






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






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






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


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






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






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






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






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






14. List 4 aggregate functions






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






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






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






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






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






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






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






22. The ____________ command makes changes permanent.






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






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






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






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






27. What are the main components of a ROWID?






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






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






30. What is the maximum value for a column defined as NUMBER(4 -2)?






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






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






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






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






35. Write the syntax to rename index just_two_more_weeks_i to finally_i






36. Which operator is most commonly used?






37. The focus of the logical data model is _____________






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






39. __________________ inserts the current date and time.






40. What is the main difference between the NOT EXISTS and the NOT IN operators?






41. _________________ relationships are always optional relationships.






42. What does SQL stand for?






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






44. Returns rows if the condition is true for all the values in the list






45. Subqueries can return...






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






47. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.






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






49. Comparison operators can compare multiple _________________.






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