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 the data type you can use if you need an unlimited number of textual characters?
Logical unit of work
ADD_MONTHS function
CLOB
Another null
2. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.
Same
Committed
Twice
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
3. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Export Data
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.
Common column value
ALL_OBJECTS
4. When you have issued a DELETE command - you can still ________ those rows and restore the information.
X
Retrieve
Run scripts
All
5. What is the main difference between the NOT EXISTS and the NOT IN operators?
The way NULL values are treated
COMMIT
INNER JOIN
ANY
6. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Actual column
Scale
Null
MINUS
7. The ________ operator cannot compare against a list of values.
UNION operator
X
LIKE
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
8. Checks whether any value in the list makes the condition true.
V$
Any
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
NATURAL JOIN
9. LINESIZE
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Combine
Multiple rows
NATURAL JOIN
10. SELECT LIST of a subquery in an INSERT statement
Orphan
SET clause of an UPDATE statement
LIKE
4000
11. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
User-defined reports
Data
BETWEEN
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
12. List the steps performed by a correlated subquery.
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
**** Select a row from the outer query - Determine the value of the correlated column - Execute the inner query for each record of the outer query. - Feed the results of the inner query to the outer query and evaluate it. It if satisfies the criteria
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.
Orphan
13. _________________ relationships are always optional relationships.
Recursive
Structured Query Language
RIGHT LEFT JOIN
NATURAL JOIN
14. Another name for a data dictionary view is __________________ or _________________.
GROUP BY
Both MIN and MAX
Static or dynamic
Black
15. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.
STORAGE
X
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.
NATURAL JOIN
16. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
X
ALL_OBJECTS
Script
Nested
17. 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.
LENGTH
Has not changed the name
SUM
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.
18. Which format mask displays December 31st - 1999?
Testing functions
Month ddth - yyyy
Equijoin and identical column names
UNION operator
19. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
12:00:00 A.M
SYSDATE
Primary key/foreign key
20. The same function can be used ______ in a SELECT statement.
Data
DESC dict;
Twice
Nested
21. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
MINUS
Non-matching rows
B-Tree Index
X
22. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Orphan
DICT_COLUMNS
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
Month ddth - yyyy
23. The term ____________ ___________ is used to express a join that satisfies the join condition.
Static or dynamic
USER_ - ALL_ - DBA_ - and V$
Data
INNER JOIN
24. Match each of the SQL commands on the left with a verb from the list.
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
ADD
Static or dynamic
CLOB
25. _________ rows are not allowed in the relational model.
STORAGE
Orphan
DECODE
GROUP BY
26. You can pass parameters from the operating system when ___________ in SQl*Plus
Running a script file
Extra spaces
4
FALSE
27. Subqueries can return...
Multiple rows
All caps
SELECT SYSDATE+1/96 - FROM dual
SUM
28. Explain why constraints are used when building tables.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
29. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
ANY
SYSDATE
ROLLBACK
SUM
30. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
The way NULL values are treated
RUN SCRIPT
Running a script file
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
31. It is considered good form to put all SQL commands in...
SELECT DISTINCT menu FROM restaurant
All caps
MINUS
Time zone
32. SELECT * FROM instructor ORDER BY phone
4
A correct statement
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
Export Data
33. SQL*Plus is used more than SQL Developer when you need to...
Run scripts
Testing functions
NATURAL JOIN
Groups
34. Which one of the following string functions tells you how many characters are in a string?
SELECT SYSDATE+1/96 - FROM dual
LENGTH
Same
UTC
35. The ______ operator compares a list of values for equivalency
ANY
All caps
Optional
Results
36. What is Oracle's most popular index storage structure?
Scalar
B-Tree Index
Parent table
Surrogate
37. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
DROP INDEX need_to_pass_i
Results
Both MIN and MAX
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
38. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
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
@ or START
Running a script file
Optional
39. The _____________ clause determines how rows are grouped.
Business problems
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Surrogate key
GROUP BY
40. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
Scalar
99.99
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
FALSE
41. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
User-defined reports
Crow's foot
Hide data
42. When you run a script in SQL*Plus you must give the...
Location of the file
VALUES
Details
**** Select a row from the outer query - Determine the value of the correlated column - Execute the inner query for each record of the outer query. - Feed the results of the inner query to the outer query and evaluate it. It if satisfies the criteria
43. How many characters can you have using the VARCHAR data type?
UNION
2000
Equijoin
4000
44. The query retrieves more than 5 to 15 percent of the rows
The indexed column is part of an expression. In this case - consider creating a function-based index instead
UNION
Mathematical equations
Same
45. You use the _________ keyword to add columns or constraints to a table.
ADD
Common column value
All
SYSDATE
46. Explain in detail the impact of INDEXES and how they are used by Oracle.
Nested
RIGHT LEFT JOIN
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
Data
47. Write a statement that drops the index need_to_pass_i
Default is 14; when you use the default - you repeat the heading every 14 rows.
X
Equijoin and correlated subquery
DROP INDEX need_to_pass_i
48. Explain what a static data dictionary view is and how it is used
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.
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.
STORAGE
Structured Query Language
49. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
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
UNION
BETWEEN
Structured Query Language
50. The DUAL table can be used for...
Testing functions
Non-matching rows
INTERSECT
Rounded edges
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