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 is inclusive of the two values specified.
A correct statement
Asterisk
BETWEEN
ADD
2. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.
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
User-defined reports
ON
Location of the file
3. 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
4. Another name for a data dictionary view is __________________ or _________________.
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.
FALSE
Static or dynamic
Time zone
5. The ______ operator compares a list of values for equivalency
SELECT DISTINCT menu FROM restaurant
2000
ANY
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
6. The query retrieves more than 5 to 15 percent of the rows
The indexed column is part of an expression. In this case - consider creating a function-based index instead
RIGHT LEFT JOIN
Twice
ADD_MONTHS function
7. When using the following data: NUMBER(10 -4) - the # 10 is called the __________.
Twice
ALL_OBJECTS
Common column value
Precision
8. Comparison operators can compare multiple _________________.
All caps
DECODE
X
Columns
9. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
Has not changed the name
Optional
X
User-defined reports
10. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
F12
DICT_COLUMNS
4
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
11. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
The way NULL values are treated
KEEP INDEX
Scale
RENAME just_two_more_weeks TO finally_i
12. Explain what is found in the All Objects report folder in SQL Developer
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
B-Tree Index
SYSDATE
12:00:00 A.M
13. __________________ inserts the current date and time.
Mathematical equations
B-Tree Index
Script
SYSDATE
14. It is considered good form to put all SQL commands in...
Running a script file
Export Data
All caps
Self-joins
15. The ___________ operator tests whether a matching row cannot be found.
X
MODIFY
Scalar
ALL_OBJECTS
16. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
MODIFY
ANSI
IN ANY ALL SOME
4000
17. You can use the ________________ to subtract months from a given date.
Time zone
The way NULL values are treated
ADD_MONTHS function
Any
18. The COUNT function is useful for determining whether a table has...
The way NULL values are treated
Any
Another null
Data
19. In SQL Developer field names and table names are shown in the color _______.
BETWEEN
Script
FALSE
Black
20. What is the keyboard shortcut for the ROLLBACK command?
Leading-edge
Has not changed the name
Retrieve
F12
21. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
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
Time zone
Business problems
Equijoin
22. How many characters can be stored in the CHAR column/field?
Extra spaces
2000
DROP INDEX need_to_pass_i
12:00:00 A.M
23. A transaction is a...
X
Logical unit of work
Non-matching rows
Actual column
24. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
Data
Structured Query Language
999999.9999
@ or START
25. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
999999.9999
Nested
Scalar
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
26. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
Semicolon or forward slash
INTERSECT
BETWEEN
ANY
27. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
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
4000
Script
SELECT DISTINCT menu FROM restaurant
28. Returns rows if the condition is true for all the values in the list
All
Details
B-Tree Index
BETWEEN
29. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
Month ddth - yyyy
FALSE
Retrieve
Combine
30. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Committed
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
ON
DICT_COLUMNS
31. _________________ relationships are always optional relationships.
Recursive
12:00:00 A.M
When the table is small (unless your business rules require you too)
The way NULL values are treated
32. NUMBER functions can be...
Nested
Common column value
MODIFY
VALUES clause of an INSERT statement
33. When you run a script in SQL*Plus you must give the...
ADD
Location of the file
4000
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
34. List the steps performed by a correlated subquery.
KEEP INDEX
Data
**** 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
Location of the file
35. The focus of the logical data model is _____________
Business problems
Export Data
ALL_OBJECTS
Script
36. Checks whether any value in the list makes the condition true.
Surrogate key
Any
RENAME just_two_more_weeks TO finally_i
The way NULL values are treated
37. What is the data type you can use if you need an unlimited number of textual characters?
DECODE
CLOB
999999.9999
MODIFY
38. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Black
Both MIN and MAX
SYSDATE
UNION operator
39. The term ____________ ___________ is used to express a join that satisfies the join condition.
IN ANY ALL SOME
Same
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.
INNER JOIN
40. Explicit data type conversion is preferable to Oracle's...
Details
Both MIN and MAX
RIGHT LEFT JOIN
Implicit conversion
41. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
ALL_OBJECTS
LIKE
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.
User-defined reports
42. What is the name of the key automatically generated from a sequence?
LENGTH
Surrogate key
Precision
Asterisk
43. PAGESIZE
Default is 14; when you use the default - you repeat the heading every 14 rows.
DECODE
Scalar
Optional
44. The key that most database designers prefer and is chosen by the system is the _____________ key.
Actual column
Surrogate
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 operator
45. What is the tab in SQL Developer where data dictionary view information can be found?
Non-matching rows
Testing functions
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
Details
46. Write the syntax to rename index just_two_more_weeks_i to finally_i
VALUES clause of an INSERT statement
Precision
RENAME just_two_more_weeks TO finally_i
DROP INDEX need_to_pass_i
47. LINESIZE
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Default is 14; when you use the default - you repeat the heading every 14 rows.
X
SET clause of an UPDATE statement
48. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Structured Query Language
Export Data
The way NULL values are treated
12:00:00 A.M
49. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
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
NATURAL JOIN
@ or START
Optional
50. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
Script
X
NATURAL JOIN
DD-MON-YY
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