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 cannot compare against a list of values.
LIKE
Primary key/foreign key
B-Tree Index
MINUS
2. 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.
VALUES
LENGTH
LIKE
INNER JOIN
3. What does SQL stand for?
Structured Query Language
Script
Twice
Groups
4. The TRUNC function on a date without a format model truncates the timestamp to...
12:00:00 A.M
NATURAL JOIN
IN ANY ALL SOME
Orphan
5. Queries that are found in parentheses are done first - just as in the order of operations when doing...
GROUP BY
Mathematical equations
Has not changed the name
99.99
6. Explain what is found in the All Objects report folder in SQL Developer
Running a script file
Same
GROUP BY
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
7. In a view you can give a column a different name than it has in the...
Surrogate
Parent table
Command returns the number of records returned by a query.
Static or dynamic
8. Which format mask displays December 31st - 1999?
Month ddth - yyyy
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Same
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.
9. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
MINUS
Hide data
VALUES clause of an INSERT statement
DICT_COLUMNS
10. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
Re-create
Equijoin
BETWEEN
SYSDATE
11. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
User-defined reports
12:00:00 A.M
RUN SCRIPT
F12
12. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
X
Equijoin
Scale
KEEP INDEX
13. The time zone displacement value indicates the time difference from _______.
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
USER_ - ALL_ - DBA_ - and V$
UTC
FALSE
14. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
Semicolon or forward slash
Testing functions
Export Data
Combine
15. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
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.
CLOB
User-defined reports
+
16. Explain what a static data dictionary view is and how it is used
F12
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.
Combine
Rounded edges
17. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
ADD_MONTHS function
SELECT DISTINCT menu FROM restaurant
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
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
18. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Same
When the table is small (unless your business rules require you too)
BETWEEN
Retrieve
19. Which operator is most commonly used?
F12
Structured Query Language
Groups
UNION
20. The key that most database designers prefer and is chosen by the system is the _____________ key.
2000
Optional
Surrogate
Re-create
21. Checks whether any value in the list makes the condition true.
Any
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
LENGTH
VALUES clause of an INSERT statement
22. The using clause of the ANSI join syntax always assumes an...
Equijoin and identical column names
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
Equijoin
Surrogate
23. Joins involving multiple columns must always follow the ____________ relationship path.
Orphan
Primary key/foreign key
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
ANY
24. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
4
User-defined reports
Has not changed the name
Command returns the number of records returned by a query.
25. What is the keyboard shortcut for the ROLLBACK command?
F12
ADD_MONTHS function
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.
MODIFY
26. Comparison operators can compare multiple _________________.
RUN SCRIPT
A correct statement
DROP INDEX need_to_pass_i
Columns
27. What is the maximum value for a column defined as NUMBER(4 -2)?
COMMIT
Export Data
SELECT SYSDATE+1/96 - FROM dual
99.99
28. Write a statement for SQL*Plus that shows the dictionary.
+
DESC dict;
NATURAL JOIN
Equijoin and correlated subquery
29. Converting a text literal to DATE format requires the use of the...
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
ON
TO_CHAR function
30. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
Month ddth - yyyy
Data
B-Tree Index
Script
31. Self-joins are useful for performing comparisons and checking for ___________ in data.
The indexed column is part of an expression. In this case - consider creating a function-based index instead
DECODE
Inconsistencies
Groups
32. SELECT LIST of a subquery in an INSERT statement
Re-create
KEEP INDEX
All caps
SET clause of an UPDATE statement
33. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Both MIN and MAX
**** 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
34. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
ON
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
**** 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
35. A transaction is a...
X
F12
@ or START
Logical unit of work
36. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
NATURAL JOIN
+
Any
37. The purpose of the HAVING clause is to eliminate___________.
BETWEEN
KEEP INDEX
12:00:00 A.M
Groups
38. What is Oracle's most popular index storage structure?
4
B-Tree Index
MINUS
Extra spaces
39. UNION ALL does not sort - therefore it is less time consuming to use than the...
Re-create
Leading-edge
ON
UNION operator
40. The ______ operator compares a list of values for equivalency
FALSE
ANY
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Mathematical equations
41. Match each of the SQL commands on the left with a verb from the list.
F12
VALUES clause of an INSERT statement
+
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
42. Which one of the following string functions tells you how many characters are in a string?
ANY
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
LENGTH
IN ANY ALL SOME
43. Returns rows if the condition is true for all the values in the list
All
Common column value
Another null
Results
44. A calculation with a null always yields...
F12
**** 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
GROUP BY
Another null
45. When is it not a good idea to use an index?
Leading-edge
Any
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
When the table is small (unless your business rules require you too)
46. 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
47. How many characters can you have using the VARCHAR data type?
ALL_OBJECTS
Nested
FALSE
4000
48. List 4 aggregate functions
999999.9999
V$
Equijoin
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
49. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
GROUP BY
Results
Rounded edges
B-Tree Index
50. Users can only see changes made to a database once they have been...
LIKE
Committed
Results
4000
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