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 most common DATE format found in SQL?






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






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






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






5. What does SQL stand for?






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






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






8. The ____________ command makes changes permanent.






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






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






11. Explain what is found in the All Objects report folder in SQL Developer






12. Subqueries can return...






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






14. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.






15. SELECT LIST of a subquery in an INSERT statement






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






17. NUMBER functions can be...






18. The _______ operator determines common rows.






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






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






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






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






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






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






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






26. FEEDBACK






27. _________ rows are not allowed in the relational model.






28. __________________ inserts the current date and time.






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






30. Write the syntax to rename index just_two_more_weeks_i to finally_i






31. _________________ relationships are always optional relationships.






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






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






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






35. What is the main difference between the NOT EXISTS and the NOT IN operators?






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






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






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






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


40. It is considered good form to put all SQL commands in...






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






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






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


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






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






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






47. Dynamic views begin with a ___________.






48. Comparison operators can compare multiple _________________.






49. To equijoin a table with another table involves matching the...






50. What is the name of the key automatically generated from a sequence?