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 ROWID pseudocolumn is not an ________- but it acts like one.






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






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






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






5. Explain the steps needed to run a script in SQL Developer






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


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






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






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






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






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






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






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






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






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






16. The COUNT function uses the __________ wildcard.






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






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






19. When you INSERT new information into a table - it is followed with a _______ keyword that contains the information that is going to be added to the table.






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






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






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






23. SELECT LIST of a subquery in an INSERT statement






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






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






26. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






30. LINESIZE






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






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






33. The focus of the logical data model is _____________






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






35. The ____________ command makes changes permanent.






36. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table






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






38. SELECT * FROM instructor ORDER BY phone






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






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






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






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






43. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.






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






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






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






47. What is the syntax used to indicate that you are using the Oracle Outer Join operator?






48. List the steps performed by a correlated subquery.






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






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