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. A _________ subquery returns a single column with a single row






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






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






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






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






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






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


8. __________________ inserts the current date and time.






9. Write the syntax to rename index just_two_more_weeks_i to finally_i






10. What are the main components of a ROWID?






11. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.






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






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






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






15. LINESIZE






16. The ____________ command makes changes permanent.






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






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






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






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






21. List 6 Table-Related Menu Choices






22. List the different types of data dictionary views.






23. SELECT * FROM instructor ORDER BY phone






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






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






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






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






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






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






30. FEEDBACK






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






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






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






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






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. The _______ operator determines common rows.






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






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






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






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






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






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






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






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






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






46. Subqueries can return...






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






48. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






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






50. SELECT LIST of a subquery in an INSERT statement