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 ____________ command makes changes permanent.
+
Implicit conversion
Rounded edges
COMMIT
2. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
Scale
Scalar
Correlated
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.
3. In SQL Developer field names and table names are shown in the color _______.
Crow's foot
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
MINUS
Black
4. The Nonequijoin can use the ________________ operator to construct joins that are not based on equality of values.
999999.9999
Testing functions
Orphan
BETWEEN
5. What do views do that makes them so useful for security?
ADD
A correct statement
Hide data
Extra spaces
6. List 6 Table-Related Menu Choices
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Has not changed the name
ADD_MONTHS function
Rounded edges
7. When column names on the tables are different - you use the ______ condition.
ON
Script
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
Scalar
8. The time zone displacement value indicates the time difference from _______.
UTC
When the table is small (unless your business rules require you too)
Implicit conversion
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
9. _________________ relationships are always optional relationships.
Recursive
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.
Re-create
Any
10. You can use the ________________ to subtract months from a given date.
RENAME just_two_more_weeks TO finally_i
Structured Query Language
ADD_MONTHS function
ANSI
11. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
Optional
Columns
Semicolon or forward slash
All
12. Instead of using the Oracle Outer Join Operator or the ANSI syntax - you can achieve the same result with two SQL statements: ____________ and a ____________
Implicit conversion
Equijoin and correlated subquery
LENGTH
The way NULL values are treated
13. 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?
4000
DROP INDEX need_to_pass_i
Command returns the number of records returned by a query.
DICTIONARY
14. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Export Data
Surrogate key
RUN SCRIPT
All
15. The _____________ clause determines how rows are grouped.
Script
Fractional seconds
Surrogate key
GROUP BY
16. The ___________ operator tests whether a matching row cannot be found.
Extra spaces
Another null
STORAGE
X
17. A _________ subquery returns a single column with a single row
Scalar
F12
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.
Structured Query Language
18. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
MODIFY
User-defined reports
Scalar
FALSE
19. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
Semicolon or forward slash
Results
MINUS
Command returns the number of records returned by a query.
20. In a view you can give a column a different name than it has in the...
DICTIONARY
Testing functions
Parent table
ADD
21. SELECT LIST of a subquery in an INSERT statement
X
SET clause of an UPDATE statement
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
FALSE
22. The _______ operator determines common rows.
4000
Primary key/foreign key
INTERSECT
B-Tree Index
23. UNION ALL does not sort - therefore it is less time consuming to use than the...
UNION operator
X
User-defined reports
MODIFY
24. __________________ inserts the current date and time.
SYSDATE
Equijoin and correlated subquery
COMMIT
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
25. What is the data type you can use if you need an unlimited number of textual characters?
CLOB
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Black
Surrogate key
26. The _______ function adds values together for a group of rows.
SUM
ANSI
@ or START
Same
27. _________ and __________ functions are opposites of each other and provide a value in a group of rows.
Has not changed the name
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.
Both MIN and MAX
Groups
28. Which format mask displays December 31st - 1999?
Hide data
Rounded edges
UNION operator
Month ddth - yyyy
29. Comparison operators can compare multiple _________________.
Equijoin and correlated subquery
A correct statement
Columns
Extra spaces
30. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
SELECT SYSDATE+1/96 - FROM dual
When the table is small (unless your business rules require you too)
999999.9999
All
31. _________ rows are not allowed in the relational model.
Testing functions
A correct statement
INNER JOIN
Orphan
32. 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.
Same
Another null
VALUES
When the table is small (unless your business rules require you too)
33. Explain in detail the impact of INDEXES and how they are used by Oracle.
Retrieve
Default is 14; when you use the default - you repeat the heading every 14 rows.
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
Three
34. To place a line comment in your SQL statements - you first place a // at the beginning of the line.
ANY
FALSE
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Semicolon or forward slash
35. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Same
Null
CLOB
36. SELECT * FROM instructor ORDER BY phone
The way NULL values are treated
A correct statement
Committed
FALSE
37. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
Details
Null
Extra spaces
@ or START
38. What is the main difference between the NOT EXISTS and the NOT IN operators?
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
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.
The way NULL values are treated
Both MIN and MAX
39. What is the first column of a composite index called?
Month ddth - yyyy
The way NULL values are treated
BETWEEN
Leading-edge
40. When is it not a good idea to use an index?
When the table is small (unless your business rules require you too)
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
Crow's foot
Month ddth - yyyy
41. Which one of the following string functions tells you how many characters are in a string?
LENGTH
VALUES
Rounded edges
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
42. What is the most common DATE format found in SQL?
SYSDATE
DD-MON-YY
Run scripts
A correct statement
43. Write a solution that adds 20 minutes to a given date.
Another null
SELECT SYSDATE+1/96 - FROM dual
Surrogate key
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
44. When using the following data: NUMBER(10 -4) - the # 10 is called the __________.
Another null
Twice
Precision
Columns
45. The ________ operator cannot compare against a list of values.
LIKE
STORAGE
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.
Leading-edge
46. The DUAL table can be used for...
Fractional seconds
STORAGE
Testing functions
2000
47. What does SQL stand for?
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.
INNER JOIN
DROP INDEX need_to_pass_i
Structured Query Language
48. The purpose of the HAVING clause is to eliminate___________.
Orphan
Rounded edges
Groups
ANSI
49. Checks whether any value in the list makes the condition true.
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
Any
VALUES clause of an INSERT statement
All
50. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Results
Retrieve
Inconsistencies
USER_ - ALL_ - DBA_ - and V$