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. ____________ are useful for analyzing and exploring the relationships within your data






2. The COUNT function uses the __________ wildcard.






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






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






5. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






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






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






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






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






16. Subqueries can return...






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






18. _________________ relationships are always optional relationships.






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






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






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






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






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






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






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






26. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...






27. 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?






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






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






30. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






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






34. Explain how the SPOOL command is used and what program it can be used in.






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






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






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






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






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






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


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






42. The _____________ clause determines how rows are grouped.






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






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






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






46. Comparison operators can compare multiple _________________.






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






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






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






50. Which format mask displays December 31st - 1999?