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 using the following data: NUMBER(10 -4) - the # 10 is called the __________.






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






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






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






5. What do views do that makes them so useful for security?






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






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






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






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






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






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


12. The _____________ clause determines how rows are grouped.






13. What is the name of the view where you can find the collection of static and data dictionary tables and views - along with their descriptions?






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






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






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






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






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






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






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






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






22. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.






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






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






25. __________________ inserts the current date and time.






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






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






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






29. A transaction is a...






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






31. _________________ relationships are always optional relationships.






32. Dynamic views begin with a ___________.






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






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






35. Subqueries can return...






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






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






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






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






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






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






42. SELECT LIST of a subquery in an INSERT statement






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






44. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.






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






46. When column names on the tables are different - you use the ______ condition.






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






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






49. Write a statement for SQL*Plus that shows the dictionary.






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