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 you run a script in SQL*Plus you must give the...
The indexed column is part of an expression. In this case - consider creating a function-based index instead
All
X
Location of the file
2. 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
3. How many characters can be stored in the CHAR column/field?
KEEP INDEX
Same
2000
Any
4. When using the following data: NUMBER(10 -4) - the # 4 is called the __________.
Twice
UNION
Scale
Retrieve
5. The data type definitions NUMBER(10) and NUMBER(10 -0) are the...
Default is 14; when you use the default - you repeat the heading every 14 rows.
SUM
Same
Asterisk
6. Checks whether any value in the list makes the condition true.
Data
VALUES
SET clause of an UPDATE statement
Any
7. A calculation with a null always yields...
Details
Another null
UNION
Semicolon or forward slash
8. A join across three tables can be expressed with the ________ join syntax.
ADD_MONTHS function
X
Extra spaces
ANSI
9. What is the first column of a composite index called?
Inconsistencies
Leading-edge
Command returns the number of records returned by a query.
Asterisk
10. Comparison operators can compare multiple _________________.
UTC
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Crow's foot
Columns
11. PAGESIZE
Default is 14; when you use the default - you repeat the heading every 14 rows.
Columns
Scalar
Logical unit of work
12. The TIMESTAMP WITH LOCAL TIME ZONE data type allows...
Combine
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
Fractional seconds
Structured Query Language
13. The term ____________ ___________ is used to express a join that satisfies the join condition.
Surrogate
INNER JOIN
IN ANY ALL SOME
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
14. The _______ operator determines common rows.
A correct statement
Three
INTERSECT
Running a script file
15. 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.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
FALSE
2000
GROUP BY
16. You use the __________ keyword to change characteristics of a column.
COUNT(registration_date) - AVG (capacity) - MIN (capacity) - MAX (capacity)
SELECT DISTINCT menu FROM restaurant
Location of the file
MODIFY
17. The using clause of the ANSI join syntax always assumes an...
DECODE
Equijoin and identical column names
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
X
18. SQL Developer's ____________________ option allows you to selectively export certain rows and columns.
Surrogate key
Data
RIGHT LEFT JOIN
Export Data
19. Queries that are found in parentheses are done first - just as in the order of operations when doing...
@ or START
Mathematical equations
NATURAL JOIN
Black
20. The _____________ clause determines how rows are grouped.
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.
SELECT DISTINCT menu FROM restaurant
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
GROUP BY
21. What is the data type you can use if you need an unlimited number of textual characters?
X
CLOB
Correlated
Null
22. It is considered good form to put all SQL commands in...
The indexed column is part of an expression. In this case - consider creating a function-based index instead
Control - Revoke - Define - TRUNCATE Manipulate - MERGE
UNION operator
All caps
23. The NEXTVAL and CURRVAL pseudocolumns can be used in which of the following SQL constructs? Select all that apply.
VALUES clause of an INSERT statement
12:00:00 A.M
Scale
Actual column
24. A transaction is a...
Logical unit of work
ON
Twice
Details
25. Joins involving multiple columns must always follow the ____________ relationship path.
VALUES
BETWEEN
Primary key/foreign key
2000
26. How many characters can you have using the VARCHAR data type?
Running a script file
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
Inconsistencies
4000
27. What is the tab in SQL Developer where data dictionary view information can be found?
Default is 14; when you use the default - you repeat the heading every 14 rows.
Details
MINUS
DICT_COLUMNS
28. What is the most common DATE format found in SQL?
DD-MON-YY
RENAME just_two_more_weeks TO finally_i
Surrogate
Fractional seconds
29. UNION ALL does not sort - therefore it is less time consuming to use than the...
B-Tree Index
UNION operator
ON
LIKE
30. In a view you can give a column a different name than it has in the...
Parent table
Rounded edges
Same
Equijoin
31. What is the Oracle data dictionary called that contains a set of tables and views containing the data about the database?
Export Data
ALL_OBJECTS
SET clause of an UPDATE statement
Lists all objects accessible for the chosen database connection. Also lists a helpful dependencies report for accessing change impact.
32. The _______ function lets you perform if-then-else functionality with the SQL language.
VALUES
Black
Non-matching rows
DECODE
33. When writing the syntax for finding information on three or more tables - the parenthesis around the ON clause is...
Optional
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.
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
Has not changed the name
34. The same function can be used ______ in a SELECT statement.
Running a script file
UTC
DROP INDEX need_to_pass_i
Twice
35. When using the following data: NUMBER(10 -4) - the lowest number you can possibly have is __________.
999999.9999
Parent table
DICT_COLUMNS
The indexed column is part of an expression. In this case - consider creating a function-based index instead
36. A _____ is a query definition stored in the database that looks just like a table - but does not have any physical rows
999999.9999
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.
Testing functions
X
37. The ____________ keywords and the USING clause of the ANSI join syntax are mutually exclusive.
NATURAL JOIN
Both MIN and MAX
Results
FALSE
38. Converting a text literal to DATE format requires the use of the...
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
MINUS
INTERSECT
TO_CHAR function
39. Explain how you can optimize your queries with subqueries and the main advantage of doing so.
12:00:00 A.M
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
IN ANY ALL SOME
SUM
40. You use the _________ keyword to add columns or constraints to a table.
ADD
Dynamic SQL is used to be continuously updated by the background processes in the Oracle instance but never by the user.
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
4000
41. When is it not a good idea to use an index?
When the table is small (unless your business rules require you too)
12:00:00 A.M
BETWEEN
Extra spaces
42. You can __________ DISTINCT and a GROUP BY clause in the same SELECT statement.
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.
VALUES
Extra spaces
Combine
43. ____________ are useful for analyzing and exploring the relationships within your data
Self-joins
Default is 14; when you use the default - you repeat the heading every 14 rows.
999999.9999
Actual column
44. When column names on the tables are different - you use the ______ condition.
UNION
2000
ON
Equijoin
45. Write an SQL statement for SQL *Plus in which you want any unique menu items to be displayed from the restaurant table
SELECT DISTINCT menu FROM restaurant
999999.9999
Same
Testing functions
46. The key that most database designers prefer and is chosen by the system is the _____________ key.
Has not changed the name
B-Tree Index
X
Surrogate
47. The _______ function adds values together for a group of rows.
Combine
Parent table
SUM
DICT_COLUMNS
48. Another name for a data dictionary view is __________________ or _________________.
Command determines the total number of characters SQL *Plus displays in on line before beginning a new line.
Scale
Scalar
Static or dynamic
49. The RTRIM function is useful for eliminating ________ in a string.
Extra spaces
USER_ - ALL_ - DBA_ - and V$
12:00:00 A.M
Command returns the number of records returned by a query.
50. Explicit data type conversion is preferable to Oracle's...
X
Implicit conversion
RUN SCRIPT
4000
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