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 ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
Surrogate key
Scale
NATURAL JOIN
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
2. When you have issued a DELETE command - you can still ________ those rows and restore the information.
ALL_OBJECTS
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.
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.
Retrieve
3. The ALTER SESSION statement can change the session's...
Time zone
Asterisk
ANSI
Location of the file
4. When you create a report in SQL Developer all the column names must match identically the names of the columns found in the tables you are referencing.
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
FALSE
Three
Surrogate key
5. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
X
Primary key/foreign key
Has not changed the name
@ or START
6. Explicit data type conversion is preferable to Oracle's...
Static or dynamic
Implicit conversion
CLOB
ANY
7. NUMBER functions can be...
LENGTH
12:00:00 A.M
99.99
Nested
8. Explain how Substitution Variables are used when writing scripts.
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.
User-defined reports
Common column value
FALSE
9. Dynamic views begin with a ___________.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
V$
Testing functions
X
10. Explain the steps needed to run a script in SQL Developer
COMMIT
SELECT SYSDATE+1/96 - FROM dual
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
11. Write a statement for SQL*Plus that shows the dictionary.
999999.9999
DESC dict;
2000
Columns
12. SQL Developer provides an extensive list of useful reports and offers the capability to create your own...
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
User-defined reports
B-Tree Index
13. Returns rows if the condition is true for all the values in the list
SYSDATE
Black
Primary key/foreign key
All
14. Comparison operators can compare multiple _________________.
Month ddth - yyyy
Surrogate
Columns
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.
15. Write a solution that adds 20 minutes to a given date.
SELECT SYSDATE+1/96 - FROM dual
VALUES clause of an INSERT statement
Extra spaces
Optional
16. The ________________ is a type of statement whereby you retrieve data that exists in one table - but not in another.
INTERSECT
Testing functions
MINUS
Implicit conversion
17. Users can only see changes made to a database once they have been...
X
Another null
SELECT SYSDATE+1/96 - FROM dual
Committed
18. All SQL statements contained within a script must end with a _______________ - even if they are done in SQL Developer.
Time zone
Semicolon or forward slash
FALSE
SET clause of an UPDATE statement
19. The query retrieves more than 5 to 15 percent of the rows
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Rounded edges
A correct statement
The indexed column is part of an expression. In this case - consider creating a function-based index instead
20. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Leading-edge
Export Data
@ or START
Fractional seconds
21. When disabling a unique or primary key - you can keep the index if you specify the __________________ clause in the ALTER TABLE statement.
Correlated
KEEP INDEX
DICTIONARY
UNION
22. 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?
FALSE
DICTIONARY
Equijoin
SELECT DISTINCT menu FROM restaurant
23. The term ____________ ___________ is used to express a join that satisfies the join condition.
RUN SCRIPT
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
INNER JOIN
Export Data
24. The same function can be used ______ in a SELECT statement.
Twice
MINUS
ANSI
CLOB
25. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Same
STORAGE
SET clause of an UPDATE statement
DD-MON-YY
26. When is it not a good idea to use an index?
B-Tree Index
Any
When the table is small (unless your business rules require you too)
Non-matching rows
27. A transaction is a...
Data
Re-create
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Logical unit of work
28. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
ROLLBACK
Surrogate
TO_CHAR function
Combine
29. Which format mask displays December 31st - 1999?
Month ddth - yyyy
Running a script file
Groups
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
30. SQL*Plus is used more than SQL Developer when you need to...
UNION operator
NATURAL JOIN
Inconsistencies
Run scripts
31. The ROWID pseudocolumn is not an ________- but it acts like one.
X
MINUS
Logical unit of work
Actual column
32. The _______ function adds values together for a group of rows.
Fractional seconds
SUM
ALL_OBJECTS
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
33. An outer join includes the result rows returned by an __________ plus extra rows where no matches are found.
Both MIN and MAX
Equijoin
Details
X
34. Explain what is found in the All Objects report folder in SQL Developer
Hide data
X
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Any
35. The _____________ clause determines how rows are grouped.
ON
GROUP BY
SYSDATE
CLOB
36. A join across three tables can be expressed with the ________ join syntax.
4000
ANSI
BETWEEN
Committed
37. ___________ subqueries allow you to reference columns from the outer query and execute the inner query repeatedly
A correct statement
Correlated
CLOB
Columns
38. The __________ operator is inclusive of the two values specified.
Equijoin and identical column names
ALL_OBJECTS
DESC dict;
BETWEEN
39. What does the following function return? SELECT LENGTH(NULL) - FROM dual
**** 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
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
Null
Details
40. The COUNT function uses the __________ wildcard.
BETWEEN
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.
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
Asterisk
41. Explain how the SPOOL command is used and what program it can be used in.
Rounded edges
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
User-defined reports
RENAME just_two_more_weeks TO finally_i
42. SELECT * FROM instructor ORDER BY phone
A correct statement
UTC
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
Nested
43. Self-joins are useful for performing comparisons and checking for ___________ in data.
Mathematical equations
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Inconsistencies
The indexed column is part of an expression. In this case - consider creating a function-based index instead
44. UNION ALL does not sort - therefore it is less time consuming to use than the...
Groups
COMMIT
UNION operator
ADD
45. The time zone displacement value indicates the time difference from _______.
RENAME just_two_more_weeks TO finally_i
USER_ - ALL_ - DBA_ - and V$
UTC
Command returns the number of records returned by a query.
46. You use the __________ keyword to change characteristics of a column.
ON
MODIFY
Another null
STORAGE
47. Oracle uses the outer join operator to indicate that nulls are shown for...
Non-matching rows
VALUES
2000
Leading-edge
48. When you want to run a script in either SQL*Plus or SQL Developer - you can use a ______ or the _________ command.
4000
RUN SCRIPT
INTERSECT
@ or START
49. You use the _________ keyword to add columns or constraints to a table.
4
Non-matching rows
Rounded edges
ADD
50. 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
Business problems
Equijoin and identical column names
IN ANY ALL SOME
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