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. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






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






3. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...






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






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






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






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






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






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






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






11. Users can only see changes made to a database once they have been...






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






13. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work






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






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






16. List the reasons that a subquery could not be unnested.






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






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






19. Queries that are found in parentheses are done first - just as in the order of operations when doing...






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






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






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






23. What are the main components of a ROWID?






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






25. To join four tables - you must have at least _____ join conditions.






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






27. The focus of the logical data model is _____________






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






29. A transaction is a...






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






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






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






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






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






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






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






37. List 4 aggregate functions






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






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






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






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






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






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






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






45. What is the maximum value for a column defined as NUMBER(4 -2)?






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


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






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






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






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