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. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
Results
Export Data
Primary key/foreign key
TO_CHAR function
2. The DUAL table can be used for...
Optional
Structured Query Language
Testing functions
Parent table
3. It is considered good form to put all SQL commands in...
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
Precision
All caps
Equijoin and correlated subquery
4. Queries that are found in parentheses are done first - just as in the order of operations when doing...
Any
Fractional seconds
Mathematical equations
Testing functions
5. You can use the ________________ to subtract months from a given date.
Primary key/foreign key
4
Optional
ADD_MONTHS function
6. Explain the steps needed to run a script in SQL Developer
Details
Asterisk
Scale
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.
7. What does SQL stand for?
All caps
Structured Query Language
Re-create
FALSE
8. Explain in detail the impact of INDEXES and how they are used by Oracle.
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
BETWEEN
Mathematical equations
Data
9. The COUNT function is useful for determining whether a table has...
GROUP BY
Data
Same
INTERSECT
10. __________________ inserts the current date and time.
VALUES clause of an INSERT statement
DROP INDEX need_to_pass_i
SYSDATE
**** 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
11. What is the tab in SQL Developer where data dictionary view information can be found?
Details
F12
Equijoin and correlated subquery
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
12. List the reasons that a subquery could not be unnested.
Logical unit of work
X
LIKE
Surrogate key
13. The key that most database designers prefer and is chosen by the system is the _____________ key.
Surrogate
MODIFY
LIKE
SELECT SYSDATE+1/96 - FROM dual
14. Explain how Substitution Variables are used when writing scripts.
F12
@ or START
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.
Has not changed the name
15. What does the following function return? SELECT LENGTH(NULL) - FROM dual
SUM
B-Tree Index
Null
X
16. Explicit data type conversion is preferable to Oracle's...
Re-create
Rounded edges
12:00:00 A.M
Implicit conversion
17. _________ rows are not allowed in the relational model.
NATURAL JOIN
Orphan
User-defined reports
SUM
18. 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.
Re-create
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Running a script file
19. Users can only see changes made to a database once they have been...
Equijoin and identical column names
Committed
A correct statement
Business problems
20. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
Nested
User-defined reports
All
FALSE
21. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
CLOB
BETWEEN
Self-joins
SELECT DISTINCT menu FROM restaurant
22. The ___________ operator tests whether a matching row cannot be found.
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
RENAME just_two_more_weeks TO finally_i
X
FALSE
23. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.
Command returns the number of records returned by a query.
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
B-Tree Index
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
24. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
IN ANY ALL SOME
Script
Data
Primary key/foreign key
25. Which format mask displays December 31st - 1999?
Month ddth - yyyy
ALL_OBJECTS
Multiple rows
CLOB
26. How many characters can be stored in the CHAR column/field?
Command returns the number of records returned by a query.
Twice
2000
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
27. What is the keyboard shortcut for the ROLLBACK command?
Combine
Equijoin and correlated subquery
F12
KEEP INDEX
28. 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
29. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Crow's foot
+
Parent table
Any
30. In SQL Developer field names and table names are shown in the color _______.
F12
Black
Correlated
DROP INDEX need_to_pass_i
31. _________________ relationships are always optional relationships.
4
All
LENGTH
Recursive
32. The purpose of the HAVING clause is to eliminate___________.
Static or dynamic
A correct statement
Groups
V$
33. Which one of the following string functions tells you how many characters are in a string?
ANY
Leading-edge
LENGTH
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
34. Oracle uses the outer join operator to indicate that nulls are shown for...
Actual column
Non-matching rows
Twice
+
35. The _____________ clause determines how rows are grouped.
RIGHT LEFT JOIN
USER_ - ALL_ - DBA_ - and V$
GROUP BY
Running a script file
36. SELECT * FROM instructor ORDER BY phone
V$
4
A correct statement
MODIFY
37. What is the main difference between the NOT EXISTS and the NOT IN operators?
4
All
The way NULL values are treated
Correlated
38. You can pass parameters from the operating system when ___________ in SQl*Plus
Hide data
Location of the file
Structured Query Language
Running a script file
39. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
NATURAL JOIN
Primary key/foreign key
Implicit conversion
Retrieve
40. The ROWID pseudocolumn is not an ________- but it acts like one.
+
Both MIN and MAX
Actual column
Orphan
41. To restart a sequence at a lower number - you can drop and ________ the sequence.
Re-create
Equijoin and correlated subquery
COMMIT
Groups
42. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
STORAGE
DICTIONARY
Export Data
DROP INDEX need_to_pass_i
43. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
999999.9999
SELECT DISTINCT menu FROM restaurant
Equijoin
Details
44. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
Parent table
MINUS
MODIFY
Scale
45. To join four tables - you must have at least _____ join conditions.
RUN SCRIPT
MINUS
Optional
Three
46. List 6 Table-Related Menu Choices
Data
Equijoin
ADD_MONTHS function
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
47. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.
F12
Equijoin
LENGTH
ADD_MONTHS function
48. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
IN ANY ALL SOME
Parent table
GROUP BY
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
49. 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.
Static or dynamic
4000
RIGHT LEFT JOIN
12:00:00 A.M
50. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Same
ROLLBACK
Re-create
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