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 TRUNC function on a date without a format model truncates the timestamp to...






2. The focus of the logical data model is _____________






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






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






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






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






7. List the different types of data dictionary views.






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






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






10. If a graphical representation of a table's box has __________ it means that the relationship is identifying.






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






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






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






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






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






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






17. Subqueries can return...






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






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






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






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






22. What does SQL stand for?






23. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.






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






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






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






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






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






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






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






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






32. List 6 Table-Related Menu Choices






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






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






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






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






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






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






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






40. List 4 aggregate functions






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






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






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






44. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.






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






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






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






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






49. A join across three tables can be expressed with the ________ join syntax.






50. What is the syntax used to indicate that you are using the Oracle Outer Join operator?