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. The _______ operator determines common rows.
Fractional seconds
Three
INTERSECT
X
2. The DUAL table can be used for...
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
Fractional seconds
Testing functions
ANY
3. 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.
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
When the table is small (unless your business rules require you too)
VALUES
MINUS
4. List the steps performed by a correlated subquery.
**** 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
FALSE
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
USER_ - ALL_ - DBA_ - and V$
5. 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
6. Converting a text literal to DATE format requires the use of the...
All caps
ALL_OBJECTS
Both MIN and MAX
TO_CHAR function
7. What is the first column of a composite index called?
Scale
A correct statement
Leading-edge
V$
8. The same function can be used ______ in a SELECT statement.
Parent table
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
Twice
9. Explain what a static data dictionary view is and how it is used
SELECT SYSDATE+1/96 - FROM dual
Correlated
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.
INNER JOIN
10. Checks whether any value in the list makes the condition true.
2000
Scalar
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.
Any
11. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Retrieve
Surrogate
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
ON
12. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.
BETWEEN
Same
KEEP INDEX
Constraints are used to enforce the business rules of a system. For instance - 'The salary of an employee may not be a negative number' may be enforced with a check constraint on the salary column. Constraints also ensure integrity and data consisten
13. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly
SELECT DISTINCT menu FROM restaurant
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
2000
Correlated
14. _________________ relationships are always optional relationships.
F12
Correlated
Recursive
999999.9999
15. 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.
RIGHT LEFT JOIN
BETWEEN
SELECT SYSDATE+1/96 - FROM dual
Black
16. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
ROLLBACK
Same
Equijoin and correlated subquery
SELECT SYSDATE+1/96 - FROM dual
17. The COUNT function is useful for determining whether a table has...
Data
Surrogate key
Black
Rounded edges
18. SELECT LIST of a subquery in an INSERT statement
Another null
X
SET clause of an UPDATE statement
FALSE
19. FEEDBACK
Location of the file
Command returns the number of records returned by a query.
USER_ - ALL_ - DBA_ - and V$
Scalar
20. The ___________ operator tests whether a matching row cannot be found.
ROLLBACK
Logical unit of work
V$
X
21. In SQL Developer field names and table names are shown in the color _______.
Black
Twice
Any
DECODE
22. The TRUNC function on a date without a format model truncates the timestamp to...
ADD_MONTHS function
Has not changed the name
Details
12:00:00 A.M
23. The purpose of the HAVING clause is to eliminate___________.
User-defined reports
Groups
ALL_OBJECTS
UNION operator
24. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
F12
Mathematical equations
UNION
+
25. List 6 Table-Related Menu Choices
Both MIN and MAX
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Business problems
Nested
26. You use the _________ keyword to add columns or constraints to a table.
X
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
ADD
+
27. What are the main components of a ROWID?
User-defined reports
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.
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
Orphan
28. The ROWID pseudocolumn is not an ________- but it acts like one.
DECODE
Actual column
DESC dict;
SELECT DISTINCT menu FROM restaurant
29. To equijoin a table with another table involves matching the...
Common column value
999999.9999
X
GROUP BY
30. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
Recursive
FALSE
LENGTH
SELECT DISTINCT menu FROM restaurant
31. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
User-defined reports
NATURAL JOIN
Optional
RIGHT LEFT JOIN
32. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
ANSI
Time zone
VALUES
Both MIN and MAX
33. Explain in detail the impact of INDEXES and how they are used by Oracle.
4
DICTIONARY
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
Retrieve
34. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
@ or START
Has not changed the name
4000
Results
35. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
Any
FALSE
Equijoin and correlated subquery
Script
36. To restart a sequence at a lower number - you can drop and ________ the sequence.
Re-create
Parent table
UNION operator
RENAME just_two_more_weeks TO finally_i
37. Explain the steps needed to run a script in SQL Developer
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.
STORAGE
Same
Retrieve
38. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
ROLLBACK
LENGTH
Scalar
Scale
39. Oracle uses the outer join operator to indicate that nulls are shown for...
Precision
Non-matching rows
F12
Committed
40. The _______ function adds values together for a group of rows.
SUM
FALSE
Logical unit of work
Multiple rows
41. 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?
MINUS
Time zone
DICTIONARY
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
42. The key that most database designers prefer and is chosen by the system is the _____________ key.
LIKE
Surrogate
Default is 14; when you use the default - you repeat the heading every 14 rows.
Retrieve
43. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
4
SYSDATE
99.99
Time zone
44. ____________ are useful for analyzing and exploring the relationships within your data
TO_CHAR function
SET clause of an UPDATE statement
Self-joins
Twice
45. The ________ operator cannot compare against a list of values.
Primary key/foreign key
LIKE
Run scripts
MODIFY
46. LINESIZE
Any
ANSI
Results
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
47. What is the name of the key automatically generated from a sequence?
Same
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Scale
Surrogate key
48. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
RUN SCRIPT
Any
CLOB
BETWEEN
49. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.
MODIFY
99.99
Command returns the number of records returned by a query.
VALUES clause of an INSERT statement
50. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Nested
Export Data
A correct statement
Equijoin and correlated subquery
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