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. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.






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






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






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






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






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






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






9. Comparison operators can compare multiple _________________.






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






11. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________






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






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






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






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






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






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






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






19. SELECT LIST of a subquery in an INSERT statement






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


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






22. FEEDBACK






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






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






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






26. The COUNT function uses the __________ wildcard.






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






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






29. List the steps performed by a correlated subquery.






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






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






32. Which operator is most commonly used?






33. The DUAL table can be used for...






34. _________ rows are not allowed in the relational model.






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






36. The focus of the logical data model is _____________






37. The COUNT function is useful for determining whether a table has...






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


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






40. _________________ relationships are always optional relationships.






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






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






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






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






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






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






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






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






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






50. __________________ inserts the current date and time.