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. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.






2. What does SQL stand for?






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






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






5. Comparison operators can compare multiple _________________.






6. SELECT * FROM instructor ORDER BY phone






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






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


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






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






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






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






13. Write a statement that drops the index need_to_pass_i






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






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






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






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






18. Returns rows if the condition is true for all the values in the list






19. You can use the ________________ to subtract months from a given date.






20. The time zone displacement value indicates the time difference from _______.






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






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






23. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.






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






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






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






27. NUMBER functions can be...






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






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






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






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






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






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






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






35. The COUNT function uses the __________ wildcard.






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






37. Write the syntax to rename index just_two_more_weeks_i to finally_i






38. The ____________ command makes changes permanent.






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






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






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






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






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






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






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


46. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?






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






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






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






50. The focus of the logical data model is _____________







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests