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 following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
999999.9999
Surrogate
Export Data
Parent table
2. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
BETWEEN
TO_CHAR function
Month ddth - yyyy
RUN SCRIPT
3. The COUNT function is useful for determining whether a table has...
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
Testing functions
Data
@ or START
4. A join across three tables can be expressed with the ________ join syntax.
Business problems
ANSI
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.
Recursive
5. Explicit data type conversion is preferable to Oracle's...
4000
LENGTH
Implicit conversion
CLOB
6. Write a statement that drops the index need_to_pass_i
DROP INDEX need_to_pass_i
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Equijoin and identical column names
Actual column
7. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Details
Non-matching rows
Null
99.99
8. Explain how Substitution Variables are used when writing scripts.
Parent table
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.
Fractional seconds
+
9. The ______ operator compares a list of values for equivalency
Optional
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.
STORAGE
ANY
10. The _____________ clause determines how rows are grouped.
FALSE
Groups
GROUP BY
Twice
11. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
KEEP INDEX
Asterisk
Testing functions
Same
12. 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.
Equijoin and correlated subquery
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
LENGTH
VALUES
13. What is the name of the key automatically generated from a sequence?
UNION operator
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.
Surrogate key
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
14. UNION ALL does not sort - therefore it is less time consuming to use than the...
INNER JOIN
Export Data
Results
UNION operator
15. The term ____________ ___________ is used to express a join that satisfies the join condition.
Twice
All caps
INNER JOIN
SET clause of an UPDATE statement
16. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Scale
All caps
ALL_OBJECTS
17. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
SET clause of an UPDATE statement
X
DICT_COLUMNS
ROLLBACK
18. When is it not a good idea to use an index?
Both MIN and MAX
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.
Hide data
When the table is small (unless your business rules require you too)
19. List 6 Table-Related Menu Choices
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Null
Semicolon or forward slash
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.
20. Users can only see changes made to a database once they have been...
Committed
2000
BETWEEN
DESC dict;
21. 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
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.
Combine
SUM
22. To equijoin a table with another table involves matching the...
Common column value
KEEP INDEX
ON
When the table is small (unless your business rules require you too)
23. Checks whether any value in the list makes the condition true.
Non-matching rows
BETWEEN
Multiple rows
Any
24. 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
25. What is the maximum value for a column defined as NUMBER(4 -2)?
Nested
DICTIONARY
Location of the file
99.99
26. What is the keyboard shortcut for the ROLLBACK command?
999999.9999
USER_ - ALL_ - DBA_ - and V$
Self-joins
F12
27. PAGESIZE
Rounded edges
Three
Default is 14; when you use the default - you repeat the heading every 14 rows.
Retrieve
28. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
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.
Equijoin and identical column names
BETWEEN
Results
29. 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
30. The same function can be used ______ in a SELECT statement.
Any
Twice
Nested
The indexed column is part of an expression. In this case - consider creating a function-based index instead
31. If a graphical representation of a table's box has __________ it means that the relationship is identifying.
Inconsistencies
RUN SCRIPT
IN ANY ALL SOME
Rounded edges
32. What does SQL stand for?
SET clause of an UPDATE statement
Equijoin and correlated subquery
Default is 14; when you use the default - you repeat the heading every 14 rows.
Structured Query Language
33. The key that most database designers prefer and is chosen by the system is the _____________ key.
Committed
Recursive
Surrogate
Crow's foot
34. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
CLOB
Equijoin
RENAME just_two_more_weeks TO finally_i
BETWEEN
35. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Export Data
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
@ or START
DICT_COLUMNS
36. Explain what a static data dictionary view is and how it is used
Location of the file
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.
Another null
Rounded edges
37. You can pass parameters from the operating system when ___________ in SQl*Plus
Fractional seconds
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.
Running a script file
MINUS
38. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
X
Combine
Black
Fractional seconds
39. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
X
V$
Location of the file
@ or START
40. Checks whether any value in the list makes the condition true.
Any
Precision
UTC
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
41. The RTRIM function is useful for eliminating ________ in a string.
Extra spaces
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Another null
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
42. Explain the differences in how an ANSI Full Outer Join and a Full Outer Join using the UNION Operator work
Columns
X
INNER JOIN
Inconsistencies
43. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
Equijoin and correlated subquery
User-defined reports
MINUS
NATURAL JOIN
44. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Fractional seconds
Has not changed the name
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
TO_CHAR function
45. What are the main components of a ROWID?
Results
99.99
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.
Inconsistencies
46. 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?
ANY
ON
RIGHT LEFT JOIN
DICTIONARY
47. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Equijoin and correlated subquery
Scale
Fractional seconds
X
48. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
Correlated
Export Data
Scale
SELECT DISTINCT menu FROM restaurant
49. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Nested
Retrieve
SUM
Semicolon or forward slash
50. Subqueries can return...
Implicit conversion
INNER JOIN
Multiple rows
DROP INDEX need_to_pass_i