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. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






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






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






4. Write the syntax to rename index just_two_more_weeks_i to finally_i






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


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






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






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






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






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






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






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






13. Write a statement that drops the index need_to_pass_i






14. What does SQL stand for?






15. Subqueries can return...






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






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






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






19. A transaction is a...






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






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






22. List the different types of data dictionary views.






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






24. The focus of the logical data model is _____________






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






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






27. What are the main components of a ROWID?






28. A _________ subquery returns a single column with a single row






29. A join across three tables can be expressed with the ________ join syntax.






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






31. Which operator is most commonly used?






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






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






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






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






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






37. The _____________ clause determines how rows are grouped.






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






39. __________________ inserts the current date and time.






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






41. Dynamic views begin with a ___________.






42. List 4 aggregate functions






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


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






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






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






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






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






49. Comparison operators can compare multiple _________________.






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