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. In SQL Developer field names and table names are shown in the color _______.
USER_ - ALL_ - DBA_ - and V$
Combine
Black
ANY
2. The same function can be used ______ in a SELECT statement.
Twice
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Mathematical equations
Has not changed the name
3. 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 SYSDATE+1/96 - FROM dual
FALSE
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
4. Write a statement that drops the index need_to_pass_i
Fractional seconds
Multiple rows
Mathematical equations
DROP INDEX need_to_pass_i
5. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
Structured Query Language
Fractional seconds
Semicolon or forward slash
Combine
6. A _________ subquery returns a single column with a single row
Scalar
MODIFY
MINUS
STORAGE
7. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Crow's foot
Time zone
Precision
Same
8. To join four tables - you must have at least _____ join conditions.
Non-matching 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.
Three
Columns
9. When column names on the tables are different - you use the ______ condition.
ON
Equijoin and correlated subquery
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
Same
10. SELECT * FROM instructor ORDER BY phone
Any
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.
User-defined reports
A correct statement
11. Write the syntax to rename index just_two_more_weeks_i to finally_i
Command returns the number of records returned by a query.
MINUS
RENAME just_two_more_weeks TO finally_i
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.
12. When is it not a good idea to use an index?
RENAME just_two_more_weeks TO finally_i
Results
Scalar
When the table is small (unless your business rules require you too)
13. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Default is 14; when you use the default - you repeat the heading every 14 rows.
TO_CHAR function
Equijoin and correlated subquery
STORAGE
14. What is the main difference between the NOT EXISTS and the NOT IN operators?
The way NULL values are treated
12:00:00 A.M
SELECT DISTINCT menu FROM restaurant
F12
15. The using clause of the ANSI join syntax always assumes an...
KEEP INDEX
Equijoin and identical column names
Recursive
Data
16. 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.
ROLLBACK
X
ALL_OBJECTS
Has not changed the name
17. What is the first column of a composite index called?
+
Both MIN and MAX
Leading-edge
4000
18. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.
DICTIONARY
Recursive
VALUES clause of an INSERT statement
All
19. Returns rows if the condition is true for all the values in the list
COMMIT
All
12:00:00 A.M
Common column value
20. ____________ are useful for analyzing and exploring the relationships within your data
VALUES
Self-joins
Mathematical equations
UNION operator
21. The term ____________ ___________ is used to express a join that satisfies the join condition.
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
INNER JOIN
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
USER_ - ALL_ - DBA_ - and V$
22. Dynamic views begin with a ___________.
**** 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
V$
99.99
Orphan
23. FEEDBACK
KEEP INDEX
User-defined reports
Command returns the number of records returned by a query.
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.
24. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
UNION operator
Semicolon or forward slash
Location of the file
BETWEEN
25. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Null
Recursive
4
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.
26. What are the main components of a ROWID?
Any
Implicit conversion
TO_CHAR function
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.
27. It is considered good form to put all SQL commands in...
All caps
Implicit conversion
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Mathematical equations
28. The purpose of the HAVING clause is to eliminate___________.
FALSE
Groups
Scalar
Data
29. The TRUNC function on a date without a format model truncates the timestamp to...
Recursive
Committed
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.
12:00:00 A.M
30. 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
31. Explain what is found in the All Objects report folder in SQL Developer
Mathematical equations
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
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Retrieve
32. Explain in detail the impact of INDEXES and how they are used by Oracle.
Results
NATURAL JOIN
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.
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
33. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
Testing functions
DICTIONARY
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
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
34. Another name for a data dictionary view is __________________ or _________________.
Static or dynamic
X
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
All
35. What is Oracle's most popular index storage structure?
Static or dynamic
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.
B-Tree Index
User-defined reports
36. When you run a script in SQL*Plus you must give the...
INNER JOIN
Equijoin and correlated subquery
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
Location of the file
37. In a view you can give a column a different name than it has in the...
Correlated
SET clause of an UPDATE statement
All caps
Parent table
38. 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
39. Write a solution that adds 20 minutes to a given date.
Structured Query Language
RUN SCRIPT
SELECT SYSDATE+1/96 - FROM dual
Surrogate
40. The key that most database designers prefer and is chosen by the system is the _____________ key.
FALSE
Surrogate
VALUES clause of an INSERT statement
RENAME just_two_more_weeks TO finally_i
41. The _____________ clause determines how rows are grouped.
GROUP BY
Groups
Surrogate key
Surrogate
42. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
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.
VALUES
X
UNION operator
43. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
+
999999.9999
Columns
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
44. The ________ operator cannot compare against a list of values.
Another null
SET clause of an UPDATE statement
B-Tree Index
LIKE
45. The _______ function adds values together for a group of rows.
SUM
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
Surrogate
Optional
46. List the steps performed by a correlated subquery.
SET clause of an UPDATE statement
**** 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
MINUS
BETWEEN
47. Comparison operators can compare multiple _________________.
USER_ - ALL_ - DBA_ - and V$
Columns
Month ddth - yyyy
Surrogate key
48. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
Common column value
Data
ALL_OBJECTS
RUN SCRIPT
49. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.
FALSE
X
B-Tree Index
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
50. Checks whether any value in the list makes the condition true.
2000
12:00:00 A.M
Any
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