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 syntax used to indicate that you are using the Oracle Outer Join operator?






2. Another name for a data dictionary view is __________________ or _________________.






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


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






5. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






6. List the steps performed by a correlated subquery.






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






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






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






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






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






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






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






14. You use the _________ keyword to add columns or constraints to a table.






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






16. What are the main components of a ROWID?






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






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






19. A transaction is a...






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






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






22. In SQL Developer field names and table names are shown in the color _______.






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






24. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






26. SELECT * FROM instructor ORDER BY phone






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






28. Dynamic views begin with a ___________.






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






30. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.






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






32. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






33. The ____________ command makes changes permanent.






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






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






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






37. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






39. List 4 aggregate functions






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






41. The focus of the logical data model is _____________






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






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






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






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






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






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






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


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






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