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. When using the data NUMBER(10 -4) there will be _______ digits following the decimal point.
Business problems
DICT_COLUMNS
4
Rounded edges
2. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Correlated
Retrieve
Combine
ANY
3. Oracle uses the outer join operator to indicate that nulls are shown for...
Non-matching rows
Correlated
SELECT SYSDATE+1/96 - FROM dual
Actual column
4. 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
X
ALL_OBJECTS
All
5. What is the first column of a composite index called?
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
Fractional seconds
Leading-edge
VALUES clause of an INSERT statement
6. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
ADD_MONTHS function
NATURAL JOIN
USER_ - ALL_ - DBA_ - and V$
Precision
7. How many characters can you have using the VARCHAR data type?
Inconsistencies
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
User-defined reports
4000
8. 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.
X
INTERSECT
VALUES
DD-MON-YY
9. How many characters can be stored in the CHAR column/field?
2000
ROLLBACK
ALL_OBJECTS
Default is 14; when you use the default - you repeat the heading every 14 rows.
10. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
Script
Inconsistencies
Leading-edge
DICT_COLUMNS
11. If a graphical representation of a table's box has __________ it means that the relationship is identifying.
LENGTH
LIKE
Rounded edges
Combine
12. The ____________ command makes changes permanent.
COMMIT
ANY
Time zone
DECODE
13. What is the main difference between the NOT EXISTS and the NOT IN operators?
Export Data
B-Tree Index
USER_ - ALL_ - DBA_ - and V$
The way NULL values are treated
14. A _________ subquery returns a single column with a single row
Month ddth - yyyy
Parent table
Scalar
All
15. Joins involving multiple columns must always follow the ____________ relationship path.
RIGHT LEFT JOIN
Primary key/foreign key
DD-MON-YY
SYSDATE
16. 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
17. The ________ operator cannot compare against a list of values.
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
Self-joins
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.
LIKE
18. You can use the ________________ to subtract months from a given date.
4
ADD_MONTHS function
ANY
Data
19. What is the name of the key automatically generated from a sequence?
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
12:00:00 A.M
Time zone
Surrogate key
20. In a view you can give a column a different name than it has in the...
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
RIGHT LEFT JOIN
Parent table
21. The purpose of the HAVING clause is to eliminate___________.
Rounded edges
X
Groups
Retrieve
22. The ALTER SESSION statement can change the session's...
Optional
Primary key/foreign key
Time zone
ANY
23. When you run a script in SQL*Plus you must give the...
Location of the file
Same
USER_ - ALL_ - DBA_ - and V$
CLOB
24. Another name for a data dictionary view is __________________ or _________________.
Static or dynamic
Optional
ADD_MONTHS function
Location of the file
25. The same function can be used ______ in a SELECT statement.
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
VALUES
Twice
26. The term ____________ ___________ is used to express a join that satisfies the join condition.
INNER JOIN
INTERSECT
KEEP INDEX
BETWEEN
27. Checks whether any value in the list makes the condition true.
Another null
DD-MON-YY
Equijoin
Any
28. The _____________ clause determines how rows are grouped.
4000
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.
GROUP BY
DROP INDEX need_to_pass_i
29. List the reasons that a subquery could not be unnested.
Command returns the number of records returned by a query.
2000
X
Scale
30. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
4000
A correct statement
FALSE
All caps
31. When column names on the tables are different - you use the ______ condition.
Command returns the number of records returned by a query.
Month ddth - yyyy
ON
MODIFY
32. The _______ operator determines common rows.
Common column value
SUM
INTERSECT
Another null
33. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.
KEEP INDEX
Run scripts
Testing functions
999999.9999
34. What is the keyboard shortcut for the ROLLBACK command?
INTERSECT
F12
X
Any
35. A calculation with a null always yields...
Another null
@ or START
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.
The indexed column is part of an expression. In this case - consider creating a function-based index instead
36. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Rounded edges
Black
UNION
Same
37. The ROWID pseudocolumn is not an ________- but it acts like one.
A correct statement
Actual column
Data
Optional
38. What is the most common DATE format found in SQL?
Logical unit of work
DD-MON-YY
2000
Running a script file
39. FEEDBACK
Re-create
Has not changed the name
Same
Command returns the number of records returned by a query.
40. Write a statement that drops the index need_to_pass_i
Logical unit of work
Mathematical equations
DROP INDEX need_to_pass_i
Rounded edges
41. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
User-defined reports
Three
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.
Any
42. The ___________ operator tests whether a matching row cannot be found.
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
Parent table
X
Multiple rows
43. The key that most database designers prefer and is chosen by the system is the _____________ key.
DECODE
Equijoin and correlated subquery
Surrogate
UTC
44. _________________ relationships are always optional relationships.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Running a script file
Recursive
Inconsistencies
45. The _______ function lets you perform if-then-else functionality with the SQL language.
DECODE
Fractional seconds
Extra spaces
Semicolon or forward slash
46. The COUNT function uses the __________ wildcard.
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Any
Asterisk
UNION
47. LINESIZE
INNER JOIN
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
F12
KEEP INDEX
48. Converting a text literal to DATE format requires the use of the...
TO_CHAR function
SELECT SYSDATE+1/96 - FROM dual
Twice
BETWEEN
49. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Non-matching rows
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Running a script file
Both MIN and MAX
50. List the steps performed by a correlated subquery.
Common column value
VALUES clause of an INSERT 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
Location of the file