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. 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?
Static or dynamic
DICTIONARY
Script
99.99
2. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
Export Data
Static or dynamic
User-defined reports
Extra spaces
3. What is Oracle's most popular index storage structure?
B-Tree Index
4
LENGTH
VALUES
4. The ______ operator compares a list of values for equivalency
Logical unit of work
Null
ANY
BETWEEN
5. Explain in detail the impact of INDEXES and how they are used by Oracle.
Optional
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.
Groups
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
6. Checks whether any value in the list makes the condition true.
INTERSECT
99.99
Any
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
7. What is the first column of a composite index called?
Export Data
Leading-edge
DICT_COLUMNS
SELECT DISTINCT menu FROM restaurant
8. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.
Another null
KEEP INDEX
Script
The indexed column is part of an expression. In this case - consider creating a function-based index instead
9. Information that is returned after you run your statement are found in the __________ tab in SQL Developer.
Results
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Nested
Scalar
10. What is the name of the key automatically generated from a sequence?
Parent table
V$
SUM
Surrogate key
11. Joins involving multiple columns must always follow the ____________ relationship path.
X
Primary key/foreign key
X
Fractional seconds
12. Explain what a static data dictionary view is and how it is used
DECODE
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.
Correlated
Retrieve
13. What are the main components of a ROWID?
MINUS
Common column value
SELECT SYSDATE+1/96 - FROM dual
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.
14. 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.
Has not changed the name
VALUES clause of an INSERT statement
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.
SUM
15. The focus of the logical data model is _____________
Recursive
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Data
Business problems
16. What is the tab in SQL Developer where data dictionary view information can be found?
UNION
Details
USER_ - ALL_ - DBA_ - and V$
+
17. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Null
Business problems
Hide data
Multiple rows
18. A calculation with a null always yields...
V$
DICTIONARY
DESC dict;
Another null
19. LINESIZE
Black
DECODE
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
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
20. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
All caps
Non-matching rows
Fractional seconds
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.
21. _________ rows are not allowed in the relational model.
LIKE
Orphan
DD-MON-YY
Same
22. Explain the steps needed to run a script in SQL Developer
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.
12:00:00 A.M
DECODE
23. Converting a text literal to DATE format requires the use of the...
DROP INDEX need_to_pass_i
Both MIN and MAX
TO_CHAR function
Static or dynamic
24. The COUNT function is useful for determining whether a table has...
Fractional seconds
Data
Re-create
The indexed column is part of an expression. In this case - consider creating a function-based index instead
25. The key that most database designers prefer and is chosen by the system is the _____________ key.
The way NULL values are treated
DICT_COLUMNS
2000
Surrogate
26. A transaction is a...
SELECT SYSDATE+1/96 - FROM dual
Has not changed the name
Logical unit of work
DICTIONARY
27. Dynamic views begin with a ___________.
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
ANSI
V$
The indexed column is part of an expression. In this case - consider creating a function-based index instead
28. Comparison operators can compare multiple _________________.
Columns
X
Run scripts
VALUES clause of an INSERT statement
29. When you run a script in SQL*Plus you must give 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.
Extra spaces
Location of the file
Script
30. _________________ relationships are always optional relationships.
Extra spaces
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Recursive
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
31. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
NATURAL JOIN
12:00:00 A.M
Orphan
ADD
32. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.
X
Equijoin
Time zone
Equijoin and correlated subquery
33. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Command returns the number of records returned by a query.
Groups
34. NUMBER functions can be...
Retrieve
INTERSECT
Three
Nested
35. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
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 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.
4
FALSE
36. In a view you can give a column a different name than it has in the...
Rounded edges
RUN SCRIPT
+
Parent table
37. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Run scripts
+
Location of the file
DICTIONARY
38. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
Re-create
MINUS
Any
SELECT SYSDATE+1/96 - FROM dual
39. A _________ subquery returns a single column with a single row
GROUP BY
Scalar
LIKE
A correct statement
40. The ________ operator cannot compare against a list of values.
Scalar
UNION operator
Extra spaces
LIKE
41. The __________ operator is inclusive of the two values specified.
Precision
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Equijoin and identical column names
BETWEEN
42. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
Default is 14; when you use the default - you repeat the heading every 14 rows.
Implicit conversion
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.
999999.9999
43. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Retrieve
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
COMMIT
ANY
44. The query retrieves more than 5 to 15 percent of the rows
DESC dict;
Crow's foot
The indexed column is part of an expression. In this case - consider creating a function-based index instead
All caps
45. To equijoin a table with another table involves matching the...
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
B-Tree Index
999999.9999
Common column value
46. The RTRIM function is useful for eliminating ________ in a string.
Extra spaces
4
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.
Mathematical equations
47. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
BETWEEN
A correct statement
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
Optional
48. The _____________ clause determines how rows are grouped.
GROUP BY
RENAME just_two_more_weeks TO finally_i
Run scripts
Implicit conversion
49. The ALTER SESSION statement can change the session's...
The indexed column is part of an expression. In this case - consider creating a function-based index instead
User-defined reports
Time zone
RUN SCRIPT
50. 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