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. List the different types of data dictionary views.
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
Correlated
USER_ - ALL_ - DBA_ - and V$
Fractional seconds
2. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Script
MODIFY
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
3. Queries that are found in parentheses are done first - just as in the order of operations when doing...
The way NULL values are treated
Mathematical equations
999999.9999
All
4. The DUAL table can be used for...
Same
Testing functions
DICTIONARY
Equijoin and correlated subquery
5. 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?
DICTIONARY
Another null
Same
Implicit conversion
6. A _________ subquery returns a single column with a single row
Scalar
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
RENAME just_two_more_weeks TO finally_i
User-defined reports
7. Which operator is most commonly used?
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.
UNION
4000
RIGHT LEFT JOIN
8. What are the main components of a ROWID?
Common column value
Committed
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.
Implicit conversion
9. You use the __________ keyword to change characteristics of a column.
ADD_MONTHS function
ANSI
LIKE
MODIFY
10. What is the first column of a composite index called?
ANSI
Leading-edge
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.
VALUES
11. In a view you can give a column a different name than it has in the...
Parent table
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
Equijoin and identical column names
ANSI
12. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
Equijoin
999999.9999
Implicit conversion
Null
13. UNION ALL does not sort - therefore it is less time consuming to use than the...
Semicolon or forward slash
Any
UNION operator
SUM
14. Explain in detail the impact of INDEXES and how they are used by Oracle.
DICTIONARY
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
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
Structured Query Language
15. The key that most database designers prefer and is chosen by the system is the _____________ key.
ANY
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.
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.
Surrogate
16. The COUNT function is useful for determining whether a table has...
Mathematical equations
Data
INNER JOIN
SELECT DISTINCT menu FROM restaurant
17. Explain the steps needed to run a script in SQL Developer
SELECT DISTINCT menu FROM restaurant
Logical unit of work
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.
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.
18. It is considered good form to put all SQL commands in...
ON
The SPOOL command - together with a file name - spools any subsequently issued SQL Plus or SQL command to a file. Just as with other file names - you can add a path to store the file in a directory other than your SQL Plus default directory. SQL Deve
All caps
Same
19. What does SQL stand for?
Black
Self-joins
Structured Query Language
Parent table
20. What is the name of the key automatically generated from a sequence?
Surrogate key
Command returns the number of records returned by a query.
Equijoin and identical column names
Has not changed the name
21. The _______ function lets you perform if-then-else functionality with the SQL language.
Running a script file
DECODE
Columns
X
22. In SQL Developer field names and table names are shown in the color _______.
Export Data
Black
4
Non-matching rows
23. A transaction is a...
X
Equijoin and correlated subquery
Logical unit of work
Parent table
24. You can pass parameters from the operating system when ___________ in SQl*Plus
DD-MON-YY
TO_CHAR function
Month ddth - yyyy
Running a script file
25. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
+
X
CLOB
SET clause of an UPDATE statement
26. _________________ relationships are always optional relationships.
Month ddth - yyyy
Equijoin
Recursive
X
27. What is the main difference between the NOT EXISTS and the NOT IN operators?
Precision
The way NULL values are treated
Export Data
LIKE
28. ____________ are useful for analyzing and exploring the relationships within your data
Re-create
Precision
User-defined reports
Self-joins
29. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
SELECT SYSDATE+1/96 - FROM dual
Logical unit of work
Scale
Structured Query Language
30. The _______ operator determines common rows.
INTERSECT
ON
SUM
A correct statement
31. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Black
COMMIT
Same
Retrieve
32. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
BETWEEN
X
ANY
RENAME just_two_more_weeks TO finally_i
33. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Semicolon or forward slash
CLOB
4000
34. Which format mask displays December 31st - 1999?
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Surrogate
Month ddth - yyyy
Run scripts
35. Self-joins are useful for performing comparisons and checking for ___________ in data.
Time zone
Inconsistencies
Details
Fractional seconds
36. Joins involving multiple columns must always follow the ____________ relationship path.
Default is 14; when you use the default - you repeat the heading every 14 rows.
Twice
Primary key/foreign key
@ or START
37. The ______ operator compares a list of values for equivalency
Running a script file
Groups
ANY
12:00:00 A.M
38. What is the most common DATE format found in SQL?
Surrogate
99.99
DD-MON-YY
Self-joins
39. List 6 Table-Related Menu Choices
ON
UNION
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
X
40. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Time zone
Same
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
ALL_OBJECTS
41. The ___________ operator tests whether a matching row cannot be found.
Default is 14; when you use the default - you repeat the heading every 14 rows.
Orphan
X
Logical unit of work
42. What do views do that makes them so useful for security?
Run scripts
Month ddth - yyyy
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
Hide data
43. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly
Inconsistencies
**** 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.
Correlated
44. The ________ operator cannot compare against a list of values.
LIKE
Business problems
Primary key/foreign key
The way NULL values are treated
45. Another name for a data dictionary view is __________________ or _________________.
GROUP BY
Running a script file
When the table is small (unless your business rules require you too)
Static or dynamic
46. The time zone displacement value indicates the time difference from _______.
Extra spaces
ON
Multiple rows
UTC
47. Comparison operators can compare multiple _________________.
BETWEEN
Hide data
Columns
Crow's foot
48. LINESIZE
Results
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Re-create
Extra spaces
49. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Semicolon or forward slash
Running a script file
DICT_COLUMNS
Results
50. __________________ inserts the current date and time.
Recursive
CLOB
SYSDATE
DICTIONARY
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