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 Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






2. What is the keyboard shortcut for the ROLLBACK command?






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






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






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






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






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






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






9. A _________ subquery returns a single column with a single row






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






11. Dynamic views begin with a ___________.






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






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






14. __________________ inserts the current date and time.






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






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






17. Which operator is most commonly used?






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






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






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






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






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






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






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






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






26. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






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






30. What does SQL stand for?






31. The ______ operator compares a list of values for equivalency






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






33. The _______ operator determines common rows.






34. Another name for a data dictionary view is __________________ or _________________.






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






36. List the different types of data dictionary views.






37. What are the main components of a ROWID?






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






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






40. PAGESIZE






41. _________________ relationships are always optional relationships.






42. A calculation with a null always yields...






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






44. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






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






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


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






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






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






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