SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Oracle SQL
Start Test
Study First
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 Oracle's most popular index storage structure?
B-Tree Index
When you want to run the same script repeatedly - but want to be able to change a variable you would use a substitution variable. During the execution of the script the user will be prompted to input the variable to use.
Self-joins
Actual column
2. A transaction is a...
Logical unit of work
STORAGE
Scale
Semicolon or forward slash
3. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly
Correlated
Any
Same
Details
4. What do views do that makes them so useful for security?
Hide data
Surrogate
Has not changed the name
999999.9999
5. __________________ inserts the current date and time.
Leading-edge
SYSDATE
Orable's flashback query feature allows you to look at values of a query at a specific time in the past - such as before specfic DML statements occured. This can be usefull in case a suer accidentally performs an unintended but committed DML change.
Crow's foot
6. FEEDBACK
X
Command returns the number of records returned by a query.
Multiple rows
RENAME just_two_more_weeks TO finally_i
7. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
@ or START
VALUES
Run scripts
X
8. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
Optional
Same
MODIFY
Mathematical equations
9. Subqueries can return...
Has not changed the name
Multiple rows
Another null
All
10. 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.
The way NULL values are treated
VALUES
Committed
Asterisk
11. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Inconsistencies
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Export Data
Orphan
12. List 4 aggregate functions
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
4
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
All caps
13. _________________ relationships are always optional relationships.
999999.9999
ADD_MONTHS function
Details
Recursive
14. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
Has not changed the name
Orable's flashback query feature allows you to look at values of a query at a specific time in the past - such as before specfic DML statements occured. This can be usefull in case a suer accidentally performs an unintended but committed DML change.
RUN SCRIPT
Equijoin and correlated subquery
15. Which operator is most commonly used?
999999.9999
B-Tree Index
UNION
DICTIONARY
16. Explain how Dynamic SQL is used and give an example of a Dynamic SQL statement.
KEEP INDEX
Three
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
X
17. You use the _________ keyword to add columns or constraints to a table.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Month ddth - yyyy
ADD
INTERSECT
18. Which one of the following string functions tells you how many characters are in a string?
B-Tree Index
Surrogate key
Orphan
LENGTH
19. Explain what is found in the All Objects report folder in SQL Developer
LENGTH
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
FALSE
Another null
20. Write a solution that adds 20 minutes to a given date.
SET clause of an UPDATE statement
ADD_MONTHS function
SELECT SYSDATE+1/96 - FROM dual
ROLLBACK
21. Users can only see changes made to a database once they have been...
@ or START
Committed
When you issue a INSERT - UPDATE - DELETE - or MERGE statement - Oracle automatically locks the modified rows. The lock prevents other sessions from making changes to these rows. The lock is released when the session initiating change commits or roll
ANY
22. Returns rows if the condition is true for all the values in the list
All
DICT_COLUMNS
IN ANY ALL SOME
ANSI
23. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
To achieve good performance for data retrieval and data manipulation statements Oracle uses indexes. In the same way you would use an index in the back of a book to quickly find information - Oracle uses indexes to speed up data retrieval. If the app
Scale
999999.9999
Orphan
24. Checks whether any value in the list makes the condition true.
Any
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Self-joins
CLOB
25. A _________ subquery returns a single column with a single row
Scalar
Data
Fractional seconds
12:00:00 A.M
26. The using clause of the ANSI join syntax always assumes an...
Equijoin and identical column names
FALSE
Implicit conversion
Scale
27. What does SQL stand for?
ADD_MONTHS function
Structured Query Language
Any
99.99
28. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
Equijoin and identical column names
Results
ON
999999.9999
29. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Same
When the table is small (unless your business rules require you too)
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Semicolon or forward slash
30. The _______ function adds values together for a group of rows.
SUM
Leading-edge
Actual column
Committed
31. The __________ operator is inclusive of the two values specified.
BETWEEN
ADD_MONTHS function
INTERSECT
Load the file into the SQL Statement Box - by opening the location the file is stored and inserting it into the statement Box. Next you can press the F5 key.
32. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
Equijoin and correlated subquery
NATURAL JOIN
Re-create
Parent table
33. NUMBER functions can be...
Details
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Nested
Extra spaces
34. 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.
GROUP BY
Surrogate
A correct statement
Has not changed the name
35. To equijoin a table with another table involves matching the...
ANSI
Correlated
Testing functions
Common column value
36. PAGESIZE
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Testing functions
Default is 14; when you use the default - you repeat the heading every 14 rows.
Null
37. Explain what a static data dictionary view is and how it is used
Same
Business problems
ADD
The static data dictionary stores details about database objects - such as tables - indexes - and views. Whenever a new object is added or an object is changed - data about the object is recorded in the data dictionary.
38. Explain in detail the impact of INDEXES and how they are used by Oracle.
To achieve good performance for data retrieval and data manipulation statements Oracle uses indexes. In the same way you would use an index in the back of a book to quickly find information - Oracle uses indexes to speed up data retrieval. If the app
MINUS
DICT_COLUMNS
ADD
39. What are the main components of a ROWID?
The indexed column is part of an expression. In this case - consider creating a function-based index instead
4
X
The main components of a ROWID are the data object number - the number of the data block - the numbers of rows within the data block - and the data file number.
40. List the reasons that a subquery could not be unnested.
X
Results
DD-MON-YY
All caps
41. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
Combine
When the table is small (unless your business rules require you too)
SELECT SYSDATE+1/96 - FROM dual
Logical unit of work
42. What is the tab in SQL Developer where data dictionary view information can be found?
UNION operator
ANSI
Details
Surrogate
43. Self-joins are useful for performing comparisons and checking for ___________ in data.
@ or START
LIKE
Inconsistencies
DD-MON-YY
44. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
Subqueries allow you to nest multiple queries into each other. This gives you the ability to use one statement to break down a problem into individual components. Without nesting queries - you would be required to have multiple queries which could be
FALSE
Running a script file
X
45. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Retrieve
User-defined reports
Orable's flashback query feature allows you to look at values of a query at a specific time in the past - such as before specfic DML statements occured. This can be usefull in case a suer accidentally performs an unintended but committed DML change.
Logical unit of work
46. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Surrogate key
+
Scale
12:00:00 A.M
47. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Implicit conversion
Scalar
Null
Inconsistencies
48. The _______ function lets you perform if-then-else functionality with the SQL language.
4
Running a script file
INNER JOIN
DECODE
49. Dynamic views begin with a ___________.
X
Hide data
MODIFY
V$
50. Converting a text literal to DATE format requires the use of the...
TO_CHAR function
Multiple rows
Surrogate
FALSE
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests