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 most common DATE format found in SQL?






2. The _______ function lets you perform if-then-else functionality with the SQL language.






3. What does SQL stand for?






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






5. What does the following function return? SELECT LENGTH(NULL) - FROM dual






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






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






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






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






10. List the steps performed by a correlated subquery.






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






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






13. The _______ operator determines common rows.






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






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






16. Converting a text literal to DATE format requires the use of the...






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






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






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






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






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






22. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?






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






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






25. The ROWID pseudocolumn is not an ________- but it acts like one.






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






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






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


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






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. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






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






34. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






35. Self-joins are useful for performing comparisons and checking for ___________ in data.






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






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






38. You use the __________ keyword to change characteristics of a column.






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






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






41. List 6 Table-Related Menu Choices






42. PAGESIZE






43. SELECT * FROM instructor ORDER BY phone






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






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






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






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






48. The ____________ command makes changes permanent.






49. Comparison operators can compare multiple _________________.






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