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. Returns rows if the condition is true for all the values in the list
NATURAL JOIN
DD-MON-YY
All
Mathematical equations
2. List the steps performed by a correlated subquery.
Re-create
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
**** 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
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.
3. What is the main difference between the NOT EXISTS and the NOT IN operators?
SELECT SYSDATE+1/96 - FROM dual
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
The way NULL values are treated
12:00:00 A.M
4. What is the first column of a composite index called?
USER_ - ALL_ - DBA_ - and V$
Leading-edge
Groups
TO_CHAR function
5. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
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
LENGTH
UTC
6. A transaction is a...
Script
Logical unit of work
DROP INDEX need_to_pass_i
SELECT DISTINCT menu FROM restaurant
7. What is the tab in SQL Developer where data dictionary view information can be found?
Details
FALSE
Same
DD-MON-YY
8. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Null
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.
Both MIN and MAX
Non-matching rows
9. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
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
Columns
Same
Location of the file
10. Explain what a static data dictionary view is and how it is used
Re-create
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
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.
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
11. You can use the ________________ to subtract months from a given date.
ADD_MONTHS function
Asterisk
VALUES clause of an INSERT statement
Common column value
12. The TRUNC function on a date without a format model truncates the timestamp to...
Inconsistencies
12:00:00 A.M
Time zone
ADD_MONTHS function
13. The key that most database designers prefer and is chosen by the system is the _____________ key.
ON
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Surrogate
Command returns the number of records returned by a query.
14. What does SQL stand for?
Structured Query Language
UNION operator
B-Tree Index
VALUES
15. To equijoin a table with another table involves matching the...
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.
Testing functions
Common column value
Actual column
16. LINESIZE
All
X
4
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
17. How many characters can be stored in the CHAR column/field?
Equijoin and identical column names
Multiple 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.
2000
18. It is considered good form to put all SQL commands in...
LIKE
Script
All caps
Static or dynamic
19. Which format mask displays December 31st - 1999?
Month ddth - yyyy
INNER JOIN
Mathematical equations
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.
20. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Equijoin and correlated subquery
Committed
+
UNION
21. What is the maximum value for a column defined as NUMBER(4 -2)?
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.
UNION operator
99.99
Mathematical equations
22. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.
RIGHT LEFT JOIN
STORAGE
Asterisk
Results
23. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Nested
GROUP BY
Export Data
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
24. Checks whether any value in the list makes the condition true.
VALUES clause of an INSERT statement
Data
Retrieve
Any
25. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.
Groups
12:00:00 A.M
SYSDATE
Equijoin
26. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
CLOB
4000
Recursive
FALSE
27. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Surrogate key
Scalar
Fractional seconds
DICT_COLUMNS
28. 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
29. When is it not a good idea to use an index?
+
Testing functions
When the table is small (unless your business rules require you too)
Retrieve
30. Subqueries can return...
Multiple rows
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Run scripts
4000
31. 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?
DICTIONARY
Month ddth - yyyy
Groups
Data
32. 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.
The indexed column is part of an expression. In this case - consider creating a function-based index instead
F12
VALUES
Semicolon or forward slash
33. In SQL Developer field names and table names are shown in the color _______.
Black
Precision
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.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
34. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Fractional seconds
99.99
X
Another null
35. Write a statement for SQL*Plus that shows the dictionary.
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
IN ANY ALL SOME
DESC dict;
DICT_COLUMNS
36. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
99.99
Script
Actual column
RIGHT LEFT JOIN
37. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
X
NATURAL JOIN
Details
DECODE
38. Explain the steps needed to run a script in SQL Developer
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.
Non-matching rows
Month ddth - yyyy
SELECT SYSDATE+1/96 - FROM dual
39. SELECT * FROM instructor ORDER BY phone
Static or dynamic
Multiple rows
LENGTH
A correct statement
40. Users can only see changes made to a database once they have been...
ADD_MONTHS function
Committed
B-Tree Index
+
41. The ________ operator cannot compare against a list of values.
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Equijoin and correlated subquery
Leading-edge
LIKE
42. The ______ operator compares a list of values for equivalency
Time zone
Groups
SELECT DISTINCT menu FROM restaurant
ANY
43. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
DESC dict;
TO_CHAR function
IN ANY ALL SOME
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
44. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
ROLLBACK
ADD
@ or START
ON
45. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
LIKE
User-defined reports
Primary key/foreign key
SELECT SYSDATE+1/96 - FROM dual
46. What do views do that makes them so useful for security?
ROLLBACK
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.
Hide data
ALL_OBJECTS
47. The _____________ clause determines how rows are grouped.
Orphan
DD-MON-YY
GROUP BY
Primary key/foreign key
48. _________ rows are not allowed in the relational model.
Scalar
SELECT DISTINCT menu FROM restaurant
Three
Orphan
49. Another name for a data dictionary view is __________________ or _________________.
Run scripts
All
IN ANY ALL SOME
Static or dynamic
50. The DUAL table can be used for...
Testing functions
Scale
DECODE
RIGHT LEFT JOIN
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