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 # 4 is called the __________.
Any
Three
Scalar
Scale
2. The COUNT function is useful for determining whether a table has...
12:00:00 A.M
DESC dict;
Retrieve
Data
3. To revert back to a state that happened before you ran your change statement - you issue a ____________ command.
Actual column
Precision
ROLLBACK
Equijoin and correlated subquery
4. What does the following function return? SELECT LENGTH(NULL) - FROM dual
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
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.
Command returns the number of records returned by a query.
Null
5. Queries that are found in parentheses are done first - just as in the order of operations when doing...
IN ANY ALL SOME
@ or START
NATURAL JOIN
Mathematical equations
6. Write a solution that adds 20 minutes to a given date.
Has not changed the name
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
Static or dynamic
SELECT SYSDATE+1/96 - FROM dual
7. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.
Combine
Black
VALUES clause of an INSERT statement
4
8. How many characters can you have using the VARCHAR data type?
NATURAL JOIN
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Same
4000
9. You can simplify the writing of SQL statements by writing SQL _________ that generate and execute other SQL statements.
**** 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
Script
Semicolon or forward slash
B-Tree Index
10. SELECT * FROM instructor ORDER BY phone
Re-create
Scalar
A correct statement
UNION operator
11. 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.
SELECT DISTINCT menu FROM restaurant
Static or dynamic
VALUES
Testing functions
12. Explain what is found in the All Objects report folder in SQL Developer
Leading-edge
Equijoin
MINUS
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
13. Checks whether any value in the list makes the condition true.
Fractional seconds
4000
Script
Any
14. To join four tables - you must have at least _____ join conditions.
Columns
Actual column
Three
Groups
15. What is the main difference between the NOT EXISTS and the NOT IN operators?
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
DICTIONARY
SELECT SYSDATE+1/96 - FROM dual
The way NULL values are treated
16. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Static or dynamic
@ or START
Asterisk
17. The term ____________ ___________ is used to express a join that satisfies the join condition.
Details
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.
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
INNER JOIN
18. _________________ relationships are always optional relationships.
Surrogate key
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
LENGTH
Recursive
19. List 6 Table-Related Menu Choices
Black
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
Leading-edge
Surrogate key
20. Explain how Substitution Variables are used when writing scripts.
All caps
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 indexed column is part of an expression. In this case - consider creating a function-based index instead
ON
21. What is the maximum value for a column defined as NUMBER(4 -2)?
All
NATURAL JOIN
99.99
Business problems
22. Users can only see changes made to a database once they have been...
SYSDATE
Common column value
DICT_COLUMNS
Committed
23. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
Correlated
V$
The indexed column is part of an expression. In this case - consider creating a function-based index instead
24. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
Optional
DICTIONARY
Another null
Rounded edges
25. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
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.
SYSDATE
IN ANY ALL SOME
Same
26. 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.
RENAME - COPY - DROP - TRUNCATE - LOCK - & COMMENT
999999.9999
RIGHT LEFT JOIN
Data
27. LINESIZE
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
INNER JOIN
@ or START
MINUS
28. Explain how Oracle treats locks when a database is being updated and needs to be viewed by other users.
Location of the file
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
FALSE
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
29. 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
30. In a view you can give a column a different name than it has in the...
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
Parent table
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.
31. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
All caps
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
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
Parent table
32. Oracle uses the outer join operator to indicate that nulls are shown for...
Location of the file
V$
SET clause of an UPDATE statement
Non-matching rows
33. When you have issued a DELETE command - you can still ________ those rows and restore the information.
Retrieve
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Running a script file
Actual column
34. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
999999.9999
Extra spaces
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
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
35. The ____________ command makes changes permanent.
Command returns the number of records returned by a query.
Self-joins
COMMIT
SET clause of an UPDATE statement
36. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
INNER JOIN
User-defined reports
SUM
SELECT SYSDATE+1/96 - FROM dual
37. The COUNT function uses the __________ wildcard.
ROLLBACK
Re-create
Asterisk
FALSE
38. You can pass parameters from the operating system when ___________ in SQl*Plus
4
BETWEEN
Running a script file
RIGHT LEFT JOIN
39. Self-joins are useful for performing comparisons and checking for ___________ in data.
Running a script file
ALL_OBJECTS
Inconsistencies
INTERSECT
40. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
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
Optional
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
X
41. The ____________ clause on a CREATE TABLE statement can specify how much space to allocate.
STORAGE
Leading-edge
The way NULL values are treated
12:00:00 A.M
42. How many characters can be stored in the CHAR column/field?
The indexed column is part of an expression. In this case - consider creating a function-based index instead
UNION operator
2000
Default is 14; when you use the default - you repeat the heading every 14 rows.
43. The DUAL table can be used for...
Testing functions
Equijoin and identical column names
X
Time zone
44. Which operator is most commonly used?
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
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
Static or dynamic
UNION
45. The focus of the logical data model is _____________
Business problems
Logical unit of work
Equijoin and identical column names
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
46. The ______ operator compares a list of values for equivalency
Non-matching rows
ANY
Common column value
Self-joins
47. What is the tab in SQL Developer where data dictionary view information can be found?
Details
**** 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
VALUES clause of an INSERT statement
Groups
48. The ________ operator cannot compare against a list of values.
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
LIKE
ALL_OBJECTS
Multiple rows
49. When column names on the tables are different - you use the ______ condition.
X
Primary key/foreign key
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
ON
50. NUMBER functions can be...
INTERSECT
ON
Nested
GROUP BY
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests