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. The ROWID pseudocolumn is not an ________- but it acts like one.






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






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






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






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






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






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






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






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






10. Explain what a static data dictionary view is and how it is used






11. The ____________ command makes changes permanent.






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






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






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


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






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






17. List the different types of data dictionary views.






18. What does SQL stand for?






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






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






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






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






23. LINESIZE






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






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






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






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






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






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






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






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






32. UNION ALL does not sort - therefore it is less time consuming to use than the...






33. _________________ relationships are always optional relationships.






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






35. The ______ operator compares a list of values for equivalency






36. FEEDBACK






37. A transaction is a...






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






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






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






41. Comparison operators can compare multiple _________________.






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






43. To restart a sequence at a lower number - you can drop and ________ the sequence.






44. Oracle uses the outer join operator to indicate that nulls are shown for...






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


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






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






48. NUMBER functions can be...






49. __________________ inserts the current date and time.






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