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 does the following function return? SELECT LENGTH(NULL) - FROM dual






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






3. List the steps performed by a correlated subquery.






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






5. List 4 aggregate functions






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






7. FEEDBACK






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






9. The COUNT function uses the __________ wildcard.






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






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






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






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






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






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






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






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






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






19. SELECT * FROM instructor ORDER BY phone






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






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






22. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.

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


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






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






25. The _____________ clause determines how rows are grouped.






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


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






28. When you run a script in SQL*Plus you must give the...






29. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...






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






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






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






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






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






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






36. What are the main components of a ROWID?






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






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






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






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






41. PAGESIZE






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






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






44. What is Oracle's most popular index storage structure?






45. You use the _________ keyword to add columns or constraints to a table.






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






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






48. Subqueries can return...






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






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