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. The term ____________ ___________ is used to express a join that satisfies the join condition.
INNER JOIN
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.
Equijoin
MODIFY
2. The ________ operator cannot compare against a list of values.
MINUS
LIKE
Crow's foot
V$
3. Explain in detail the impact of INDEXES and how they are used by Oracle.
Fractional seconds
Inconsistencies
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
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. The COUNT function is useful for determining whether a table has...
@ or START
BETWEEN
Data
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
5. Comparison operators can compare multiple _________________.
Run scripts
Columns
ADD
Details
6. The ___________ operator tests whether a matching row cannot be found.
Recursive
LENGTH
X
Columns
7. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
Re-create
Scale
All
@ or START
8. A transaction is a...
Logical unit of work
Any
Implicit conversion
ON
9. Self-joins are useful for performing comparisons and checking for ___________ in data.
All
V$
12:00:00 A.M
Inconsistencies
10. 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
11. _________ rows are not allowed in the relational model.
12:00:00 A.M
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
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
Orphan
12. List 4 aggregate functions
A correct statement
X
Equijoin and correlated subquery
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
13. The _______ function lets you perform if-then-else functionality with the SQL language.
Correlated
DECODE
DESC dict;
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
14. What do views do that makes them so useful for security?
RENAME just_two_more_weeks TO finally_i
Default is 14; when you use the default - you repeat the heading every 14 rows.
Hide data
Command returns the number of records returned by a query.
15. A join across three tables can be expressed with the ________ join syntax.
+
Columns
DICT_COLUMNS
ANSI
16. The ____________ icon allows you to execute multiple statements and emulates SQL *Plus as much as possible.
+
Running a script file
Optional
RUN SCRIPT
17. Write a solution that adds 20 minutes to a given date.
Command returns the number of records returned by a query.
SELECT SYSDATE+1/96 - FROM dual
IN ANY ALL SOME
SYSDATE
18. Returns rows if the condition is true for all the values in the list
Precision
All
Columns
Static or dynamic
19. If a graphical representation of a table's box has __________ it means that the relationship is identifying.
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.
B-Tree Index
Rounded edges
Equijoin and correlated subquery
20. When column names on the tables are different - you use the ______ condition.
Data
**** 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
LENGTH
ON
21. Another name for a data dictionary view is __________________ or _________________.
Recursive
Static or dynamic
LIKE
Run scripts
22. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
TO_CHAR function
All
ALL_OBJECTS
All caps
23. The _______ operator determines common rows.
Null
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
INTERSECT
**** 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
24. Queries that are found in parentheses are done first - just as in the order of operations when doing...
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
ADD_MONTHS function
Mathematical equations
Any
25. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Black
Default is 14; when you use the default - you repeat the heading every 14 rows.
UNION operator
Equijoin and correlated subquery
26. Users can only see changes made to a database once they have been...
DICTIONARY
Committed
B-Tree Index
Surrogate
27. Subqueries can return...
Multiple rows
Details
X
IN ANY ALL SOME
28. The ____________ command makes changes permanent.
IN ANY ALL SOME
UNION
COMMIT
NATURAL JOIN
29. 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.
RIGHT LEFT JOIN
Equijoin and correlated subquery
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.
Has not changed the name
30. The _____________ clause determines how rows are grouped.
Default is 14; when you use the default - you repeat the heading every 14 rows.
GROUP BY
DD-MON-YY
Location of the file
31. How many characters can be stored in the CHAR column/field?
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
SET clause of an UPDATE statement
2000
Primary key/foreign key
32. When you have issued a DELETE command - you can still ________ those rows and restore the information.
X
UNION operator
Retrieve
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
33. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
Optional
Combine
STORAGE
Primary key/foreign key
34. The ROWID pseudocolumn is not an ________- but it acts like one.
User-defined reports
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
Actual column
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.
35. When using the following data: NUMBER(10 -4) - the # 10 is called the __________.
Details
Precision
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
INTERSECT
36. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
KEEP INDEX
MINUS
Three
Extra spaces
37. When returning multiple rows - a subquery must contain the _____ - _____ - _____ - or ______ operator - otherwise Oracle will return an error
Self-joins
FALSE
Equijoin and correlated subquery
IN ANY ALL SOME
38. The _______ function adds values together for a group of rows.
DICTIONARY
Implicit conversion
SUM
VALUES clause of an INSERT statement
39. FEEDBACK
MODIFY
Command returns the number of records returned by a query.
V$
+
40. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.
FALSE
CLOB
STORAGE
999999.9999
41. A _________ subquery returns a single column with a single row
Scalar
RIGHT LEFT JOIN
Combine
Equijoin and correlated subquery
42. The time zone displacement value indicates the time difference from _______.
COMMIT
CLOB
UTC
Implicit conversion
43. 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
44. What is the syntax used to indicate that you are using the Oracle Outer Join operator?
Another null
Data
+
All
45. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
FALSE
Equijoin and identical column names
Export Data
MODIFY
46. You can pass parameters from the operating system when ___________ in SQl*Plus
DICT_COLUMNS
X
Retrieve
Running a script file
47. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Crow's foot
GROUP BY
Three
Fractional seconds
48. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
All
Scale
ADD
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
49. List the reasons that a subquery could not be unnested.
X
UTC
Self-joins
Black
50. The ______ operator compares a list of values for equivalency
INNER JOIN
UNION
STORAGE
ANY