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. What is the maximum value for a column defined as NUMBER(4 -2)?






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






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






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






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






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






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






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






9. What is the tab in SQL Developer where data dictionary view information can be found?






10. List the steps performed by a correlated subquery.






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






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






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






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






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






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






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






18. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






19. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






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






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






22. The COUNT function uses the __________ wildcard.






23. The term ____________ ___________ is used to express a join that satisfies the join condition.






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






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






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






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






28. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows






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






30. How many characters can be stored in the CHAR column/field?






31. A transaction is a...






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






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






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






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






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






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






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






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






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






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






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






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






44. When you have issued a DELETE command - you can still ________ those rows and restore the information.






45. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






46. The _______ operator determines common rows.






47. The ______ depicts the M of a 1:M relationship.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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