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 same function can be used ______ in a SELECT statement.
FALSE
Script
Groups
Twice
2. A calculation with a null always yields...
Another null
Details
ANY
Hide data
3. Checks whether any value in the list makes the condition true.
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.
Any
Month ddth - yyyy
Extra spaces
4. 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?
Command returns the number of records returned by a query.
Rounded edges
DICTIONARY
Script
5. What does SQL stand for?
DICT_COLUMNS
INTERSECT
Structured Query Language
Multiple rows
6. LINESIZE
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
Both MIN and MAX
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Committed
7. SELECT * FROM instructor ORDER BY phone
Precision
UTC
Logical unit of work
A correct statement
8. Explicit data type conversion is preferable to Oracle's...
ADD
DROP INDEX need_to_pass_i
ANY
Implicit conversion
9. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
DICT_COLUMNS
12:00:00 A.M
LENGTH
Implicit conversion
10. __________________ inserts the current date and time.
Structured Query Language
SYSDATE
DICTIONARY
BETWEEN
11. FEEDBACK
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
DROP INDEX need_to_pass_i
X
Command returns the number of records returned by a query.
12. You can pass parameters from the operating system when ___________ in SQl*Plus
Running a script file
The way NULL values are treated
Crow's foot
Common column value
13. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
COMMIT
**** 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
Results
Another null
14. To equijoin a table with another table involves matching the...
Common column value
Location of the file
DECODE
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
15. Joins involving multiple columns must always follow the ____________ relationship path.
Committed
Primary key/foreign key
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Semicolon or forward slash
16. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Non-matching rows
Equijoin and correlated subquery
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
USER_ - ALL_ - DBA_ - and V$
17. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
Actual column
BETWEEN
Structured Query Language
VALUES
18. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
Non-matching rows
Export Data
Logical unit of work
19. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
99.99
Semicolon or forward slash
Retrieve
ANSI
20. A _________ subquery returns a single column with a single row
Scalar
VALUES clause of an INSERT statement
B-Tree Index
Has not changed the name
21. Which one of the following string functions tells you how many characters are in a string?
LENGTH
Results
User-defined reports
SUM
22. What is the maximum value for a column defined as NUMBER(4 -2)?
ADD
99.99
INTERSECT
SELECT DISTINCT menu FROM restaurant
23. When you run a script in SQL*Plus you must give the...
Location of the file
Re-create
RUN SCRIPT
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.
24. The ROWID pseudocolumn is not an ________- but it acts like one.
Actual column
UNION operator
Extra spaces
Black
25. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
Script
Default is 14; when you use the default - you repeat the heading every 14 rows.
Extra spaces
KEEP INDEX
26. The focus of the logical data model is _____________
Business problems
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
RIGHT LEFT JOIN
@ or START
27. Returns rows if the condition is true for all the values in the list
All
Inconsistencies
Self-joins
Crow's foot
28. The ___________ operator tests whether a matching row cannot be found.
Location of the file
X
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
Nested
29. 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.
Has not changed the name
SELECT SYSDATE+1/96 - FROM dual
INTERSECT
ON
30. List the reasons that a subquery could not be unnested.
X
12:00:00 A.M
Business problems
Multiple rows
31. List 4 aggregate functions
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
ANY
RENAME just_two_more_weeks TO finally_i
Asterisk
32. The purpose of the HAVING clause is to eliminate___________.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Groups
Default is 14; when you use the default - you repeat the heading every 14 rows.
STORAGE
33. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.
F12
Static or dynamic
Export Data
Equijoin
34. The ________ operator cannot compare against a list of values.
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.
X
LIKE
Self-joins
35. PAGESIZE
Combine
Scale
Default is 14; when you use the default - you repeat the heading every 14 rows.
Common column value
36. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.
Non-matching rows
KEEP INDEX
Scale
Hide data
37. Write a solution that adds 20 minutes to a given date.
SELECT SYSDATE+1/96 - FROM dual
RENAME just_two_more_weeks TO finally_i
Running a script file
Run scripts
38. What is the main difference between the NOT EXISTS and the NOT IN operators?
The way NULL values are treated
ADD
Leading-edge
Fractional seconds
39. Explain what is found in the All Objects report folder in SQL Developer
12:00:00 A.M
Scale
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
RIGHT LEFT JOIN
40. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
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.
SELECT DISTINCT menu FROM restaurant
Results
SET clause of an UPDATE statement
41. What are the main components of a ROWID?
DICT_COLUMNS
Inconsistencies
Export 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.
42. 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.
SELECT DISTINCT menu FROM restaurant
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Primary key/foreign key
43. When you have issued a DELETE command - you can still ________ those rows and restore the information.
BETWEEN
LIKE
Retrieve
Multiple rows
44. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
LIKE
Both MIN and MAX
FALSE
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
45. Explain Flashback queries and how they are used. Give an example of a FLASHBACK_TRANSACTION query and explain what it does row by row.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
VALUES clause of an INSERT statement
ALL_OBJECTS
RUN SCRIPT
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
47. Explain the steps needed to run a script in SQL Developer
RUN SCRIPT
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.
Command returns the number of records returned by a query.
UTC
48. In a view you can give a column a different name than it has in the...
SYSDATE
Parent table
GROUP BY
DECODE
49. Which format mask displays December 31st - 1999?
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.
Month ddth - yyyy
ANY
Implicit conversion
50. The __________ operator is inclusive of the two values specified.
Script
SYSDATE
Location of the file
BETWEEN
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