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. Converting a text literal to DATE format requires the use of the...
TO_CHAR function
GROUP BY
Leading-edge
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
2. The ALTER SESSION statement can change the session's...
**** 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
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Black
Time zone
3. _________ rows are not allowed in the relational model.
Orphan
Semicolon or forward slash
SYSDATE
VALUES
4. The ________ operator cannot compare against a list of values.
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.
Business problems
LIKE
IN ANY ALL SOME
5. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
VALUES clause of an INSERT statement
ADD_MONTHS function
DD-MON-YY
6. The term ____________ ___________ is used to express a join that satisfies the join condition.
Equijoin and correlated subquery
INNER JOIN
RENAME just_two_more_weeks TO finally_i
LENGTH
7. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Export Data
MINUS
A correct statement
All caps
8. The ______ operator compares a list of values for equivalency
ANSI
**** 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
ANY
INTERSECT
9. How many characters can you have using the VARCHAR data type?
SELECT DISTINCT menu FROM restaurant
X
4000
Optional
10. What is the first column of a composite index called?
Leading-edge
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
Crow's foot
@ or START
11. The _______ operator determines common rows.
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.
INTERSECT
Equijoin
All caps
12. Dynamic views begin with a ___________.
Structured Query Language
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.
All caps
V$
13. A join across three tables can be expressed with the ________ join syntax.
Self-joins
ANSI
SELECT DISTINCT menu FROM restaurant
Script
14. Returns rows if the condition is true for all the values in the list
Month ddth - yyyy
All
4000
Default is 14; when you use the default - you repeat the heading every 14 rows.
15. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.
STORAGE
Semicolon or forward slash
Equijoin and correlated subquery
Data
16. When you run a script in SQL*Plus you must give the...
Same
2000
Location of the file
IN ANY ALL SOME
17. Explicit data type conversion is preferable to Oracle's...
Any
Optional
Black
Implicit conversion
18. PAGESIZE
Default is 14; when you use the default - you repeat the heading every 14 rows.
Black
Surrogate key
All caps
19. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
Semicolon or forward slash
Equijoin
Fractional seconds
Script
20. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
Fractional seconds
ROLLBACK
Another null
INNER JOIN
21. The query retrieves more than 5 to 15 percent of the rows
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Structured Query Language
X
The indexed column is part of an expression. In this case - consider creating a function-based index instead
22. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Equijoin and correlated subquery
FALSE
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
X
23. The TRUNC function on a date without a format model truncates the timestamp to...
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.
Equijoin and correlated subquery
Crow's foot
12:00:00 A.M
24. What is the name of the key automatically generated from a sequence?
Semicolon or forward slash
Leading-edge
Surrogate key
Month ddth - yyyy
25. To join four tables - you must have at least _____ join conditions.
**** 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
Self-joins
Three
KEEP INDEX
26. Explain how the SPOOL command is used and what program it can be used in.
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
RENAME just_two_more_weeks TO finally_i
Structured Query Language
X
27. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
Command returns the number of records returned by a query.
Any
Implicit conversion
IN ANY ALL SOME
28. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Both MIN and MAX
Any
Month ddth - yyyy
Crow's foot
29. What is the most common DATE format found in SQL?
DD-MON-YY
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
ADD_MONTHS function
Structured Query Language
30. The same function can be used ______ in a SELECT statement.
Another null
Twice
IN ANY ALL SOME
Optional
31. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
4
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.
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
FALSE
32. LINESIZE
Surrogate
Scalar
X
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
33. 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?
Testing functions
USER_ - ALL_ - DBA_ - and V$
DICTIONARY
Null
34. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
Precision
A correct statement
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 correlated subquery
35. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
Combine
CLOB
ANY
COMMIT
36. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Nested
Any
BETWEEN
DICT_COLUMNS
37. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Fractional seconds
**** 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
+
Non-matching rows
38. Another name for a data dictionary view is __________________ or _________________.
Three
Command returns the number of records returned by a query.
ON
Static or dynamic
39. What is the maximum value for a column defined as NUMBER(4 -2)?
ANY
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Actual column
99.99
40. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
X
Combine
MINUS
Re-create
41. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
Nested
RENAME just_two_more_weeks TO finally_i
X
Semicolon or forward slash
42. A _________ subquery returns a single column with a single row
Time zone
UNION operator
DESC dict;
Scalar
43. NUMBER functions can be...
SYSDATE
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
Nested
FALSE
44. The RTRIM function is useful for eliminating ________ in a string.
Groups
ANSI
Extra spaces
F12
45. SELECT * FROM instructor ORDER BY phone
Any
A correct statement
DD-MON-YY
Optional
46. What do views do that makes them so useful for security?
Orphan
Hide data
B-Tree Index
V$
47. Explain what is found in the All Objects report folder in SQL Developer
DICTIONARY
Asterisk
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
RUN SCRIPT
48. 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
49. The COUNT function is useful for determining whether a table has...
Groups
DROP INDEX need_to_pass_i
Data
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.
50. The purpose of the HAVING clause is to eliminate___________.
Groups
All caps
COMMIT
Scale
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