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. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...






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






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






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






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






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






7. List 6 Table-Related Menu Choices






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






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






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






11. NUMBER functions can be...






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






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






14. The key that most database designers prefer and is chosen by the system is the _____________ key.






15. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.






16. The focus of the logical data model is _____________






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






18. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly






19. List 4 aggregate functions






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






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






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






23. What does SQL stand for?






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






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






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






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






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






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






30. What are the main components of a ROWID?






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






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






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






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






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






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






37. A transaction is a...






38. List the different types of data dictionary views.






39. List the steps performed by a correlated subquery.






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






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






42. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






45. Comparison operators can compare multiple _________________.






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






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






48. FEEDBACK






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






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