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. To equijoin a table with another table involves matching the...
DICT_COLUMNS
Re-create
Common column value
Crow's foot
2. 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
3. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
Same
Has not changed the name
ON
RUN SCRIPT
4. _________ rows are not allowed in the relational model.
Orphan
Month ddth - yyyy
Scale
Parent table
5. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
ROLLBACK
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.
The way NULL values are treated
2000
6. Which operator is most commonly used?
X
Export Data
Another null
UNION
7. Users can only see changes made to a database once they have been...
FALSE
Hide data
Committed
CLOB
8. Explicit data type conversion is preferable to Oracle's...
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.
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.
Implicit conversion
DICT_COLUMNS
9. The DUAL table can be used for...
INTERSECT
Twice
DICTIONARY
Testing functions
10. 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.
V$
BETWEEN
RIGHT LEFT JOIN
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.
11. The ROWID pseudocolumn is not an ________- but it acts like one.
Columns
Actual column
Precision
Running a script file
12. What is Oracle's most popular index storage structure?
Null
Time zone
B-Tree Index
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
13. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Nested
Hide data
Fractional seconds
999999.9999
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.
LIKE
Has not changed the name
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.
ADD_MONTHS function
15. ____________ are useful for analyzing and exploring the relationships within your data
12:00:00 A.M
LIKE
Self-joins
Surrogate key
16. A transaction is a...
Logical unit of work
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Implicit conversion
FALSE
17. The RTRIM function is useful for eliminating ________ in a string.
Extra spaces
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.
A correct statement
4
18. You use the __________ keyword to change characteristics of a column.
MODIFY
GROUP BY
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
19. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
IN ANY ALL SOME
KEEP INDEX
CLOB
12:00:00 A.M
20. List 6 Table-Related Menu Choices
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
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Time zone
21. The time zone displacement value indicates the time difference from _______.
Static or dynamic
UTC
NATURAL JOIN
+
22. You can pass parameters from the operating system when ___________ in SQl*Plus
Run scripts
Has not changed the name
Leading-edge
Running a script file
23. How many characters can be stored in the CHAR column/field?
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
2000
X
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
24. The _____________ clause determines how rows are grouped.
FALSE
GROUP BY
Black
Recursive
25. What is the main difference between the NOT EXISTS and the NOT IN operators?
Leading-edge
+
Results
The way NULL values are treated
26. Subqueries can return...
Correlated
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.
Data
Multiple rows
27. List the different types of data dictionary views.
USER_ - ALL_ - DBA_ - and V$
Export Data
All
VALUES
28. The ______ operator compares a list of values for equivalency
Results
Script
ANY
VALUES
29. In SQL Developer field names and table names are shown in the color _______.
Structured Query Language
ADD
Black
DICTIONARY
30. 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
31. The COUNT function is useful for determining whether a table has...
Crow's foot
Extra spaces
Scale
Data
32. The term ____________ ___________ is used to express a join that satisfies the join condition.
X
Any
Another null
INNER JOIN
33. What do views do that makes them so useful for security?
Command returns the number of records returned by a query.
SET clause of an UPDATE statement
Hide data
Orphan
34. Write a statement for SQL*Plus that shows the dictionary.
Multiple rows
DESC dict;
BETWEEN
Asterisk
35. Queries that are found in parentheses are done first - just as in the order of operations when doing...
Mathematical equations
DD-MON-YY
Parent table
MODIFY
36. Returns rows if the condition is true for all the values in the list
99.99
All
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Export Data
37. Checks whether any value in the list makes the condition true.
X
Any
UNION
Self-joins
38. What are the main components of a ROWID?
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.
999999.9999
All caps
The indexed column is part of an expression. In this case - consider creating a function-based index instead
39. When using the following data: NUMBER(10 -4) - the # 10 is called the __________.
999999.9999
Primary key/foreign key
Precision
The way NULL values are treated
40. Dynamic views begin with a ___________.
Equijoin
Script
SYSDATE
V$
41. The same function can be used ______ in a SELECT statement.
Twice
Implicit conversion
BETWEEN
Extra spaces
42. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
Twice
Details
Scalar
BETWEEN
43. Explain how Substitution Variables are used when writing scripts.
99.99
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.
X
Running a script file
44. To join four tables - you must have at least _____ join conditions.
Fractional seconds
Nested
Three
ON
45. What is the command you would type into SQL*Plus if you needed to know the definition for each column of a table?
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
Any
DICT_COLUMNS
All caps
46. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
12:00:00 A.M
999999.9999
2000
4
47. The _______ operator determines common rows.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
**** 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
INTERSECT
@ or START
48. What is the data type you can use if you need an unlimited number of textual characters?
COMMIT
CLOB
All caps
ALL_OBJECTS
49. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
Optional
2000
IN ANY ALL SOME
Structured Query Language
50. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
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
@ or START
Surrogate key
Fractional seconds