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. Explain the steps needed to run a script in SQL Developer






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






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






4. __________________ inserts the current date and time.






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






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






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






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






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






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






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






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






13. Match each of the SQL commands on the left with a verb from the list.






14. The _______ function adds values together for a group of rows.






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






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






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






18. Converting a text literal to DATE format requires the use of the...






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






20. The query retrieves more than 5 to 15 percent of the rows






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






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






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






24. The COUNT function uses the __________ wildcard.






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






26. Write a statement that drops the index need_to_pass_i






27. FEEDBACK






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






29. When is it not a good idea to use an index?






30. Write the syntax to rename index just_two_more_weeks_i to finally_i






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






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






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






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






35. The _______ operator determines common rows.






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


37. Which format mask displays December 31st - 1999?






38. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.






39. The purpose of the HAVING clause is to eliminate___________.






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






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






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






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






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






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. List 4 aggregate functions






47. How many characters can you have using the VARCHAR data type?






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






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






50. The focus of the logical data model is _____________