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. Explain what a static data dictionary view is and how it is used
Semicolon or forward slash
Common column value
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.
DESC dict;
2. List the different types of data dictionary views.
Scale
FALSE
USER_ - ALL_ - DBA_ - and V$
BETWEEN
3. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Retrieve
Surrogate key
Any
ON
4. FEEDBACK
Committed
Command returns the number of records returned by a query.
Location of the file
DROP INDEX need_to_pass_i
5. What is Oracle's most popular index storage structure?
Crow's foot
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
B-Tree Index
Columns
6. 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
Actual column
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Combine
7. Returns rows if the condition is true for all the values in the list
Running a script file
4000
All
Fractional seconds
8. SELECT * FROM instructor ORDER BY phone
ANY
RIGHT LEFT JOIN
A correct statement
All caps
9. The COUNT function is useful for determining whether a table has...
Data
COMMIT
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
Equijoin
10. LINESIZE
4000
Combine
DROP INDEX need_to_pass_i
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
11. It is considered good form to put all SQL commands in...
IN ANY ALL SOME
X
All caps
Implicit conversion
12. Which operator is most commonly used?
STORAGE
UNION
DECODE
DROP INDEX need_to_pass_i
13. The ____________ command makes changes permanent.
COMMIT
Another null
The way NULL values are treated
Static or dynamic
14. A transaction is a...
Logical unit of work
Another null
VALUES
Scale
15. The purpose of the HAVING clause is to eliminate___________.
Groups
SUM
RUN SCRIPT
GROUP BY
16. You can use the ________________ to subtract months from a given date.
RENAME just_two_more_weeks TO finally_i
Crow's foot
12:00:00 A.M
ADD_MONTHS function
17. What is the data type you can use if you need an unlimited number of textual characters?
User-defined reports
Fractional seconds
CLOB
TO_CHAR function
18. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
ALL_OBJECTS
Script
All
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
19. Write the syntax to rename index just_two_more_weeks_i to finally_i
Scalar
Both MIN and MAX
RENAME just_two_more_weeks TO finally_i
Combine
20. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
Results
999999.9999
MINUS
Committed
21. What is the maximum value for a column defined as NUMBER(4 -2)?
Extra spaces
TO_CHAR function
99.99
User-defined reports
22. You use the __________ keyword to change characteristics of a column.
MODIFY
A correct statement
MINUS
Rounded edges
23. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
FALSE
Equijoin and correlated subquery
Fractional seconds
CLOB
24. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
4
Primary key/foreign key
Both MIN and MAX
ROLLBACK
25. 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
26. 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.
All
RIGHT LEFT JOIN
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
27. Joins involving multiple columns must always follow the ____________ relationship path.
Primary key/foreign key
IN ANY ALL SOME
Semicolon or forward slash
RIGHT LEFT JOIN
28. What does SQL stand for?
Black
Structured Query Language
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Hide data
29. PAGESIZE
Default is 14; when you use the default - you repeat the heading every 14 rows.
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
COMMIT
999999.9999
30. Write a statement that drops the index need_to_pass_i
+
Equijoin and identical column names
SELECT DISTINCT menu FROM restaurant
DROP INDEX need_to_pass_i
31. The focus of the logical data model is _____________
A correct statement
Fractional seconds
Default is 14; when you use the default - you repeat the heading every 14 rows.
Business problems
32. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Testing functions
Both MIN and MAX
X
UTC
33. The _____________ clause determines how rows are grouped.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
GROUP BY
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
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
34. To equijoin a table with another table involves matching the...
Leading-edge
Testing functions
Common column value
MINUS
35. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
Columns
NATURAL JOIN
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
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.
36. Which format mask displays December 31st - 1999?
Parent table
Orphan
Month ddth - yyyy
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.
37. The ___________ operator tests whether a matching row cannot be found.
Surrogate
Business problems
X
2000
38. Checks whether any value in the list makes the condition true.
Any
Command returns the number of records returned by a query.
Implicit conversion
Same
39. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Any
Location of the file
Null
GROUP BY
40. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
Groups
BETWEEN
ADD
Three
41. Write a solution that adds 20 minutes to a given date.
Correlated
SYSDATE
Has not changed the name
SELECT SYSDATE+1/96 - FROM dual
42. The ______ operator compares a list of values for equivalency
ADD_MONTHS function
UTC
ANY
Retrieve
43. UNION ALL does not sort - therefore it is less time consuming to use than the...
All
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
UNION operator
Default is 14; when you use the default - you repeat the heading every 14 rows.
44. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
LENGTH
IN ANY ALL SOME
Correlated
4
45. You use the _________ keyword to add columns or constraints to a table.
SYSDATE
ADD
NATURAL JOIN
DECODE
46. SELECT LIST of a subquery in an INSERT statement
SET clause of an UPDATE statement
FALSE
GROUP BY
Combine
47. Subqueries can return...
DICTIONARY
Multiple rows
Has not changed the name
Logical unit of work
48. 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?
4000
DICTIONARY
Export Data
B-Tree Index
49. Explain how Substitution Variables are used when writing scripts.
Fractional seconds
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.
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Any
50. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
+
Details
Scale
INTERSECT