Académique Documents
Professionnel Documents
Culture Documents
Mark for
Review
(1) Points
You want to produce a report that provides the last names, first names,
and hire dates of those employees who were hired between March 1,
2000, and August 30, 2000. Which statements can you issue to
accomplish this task?
Mark for
Review
(1) Points
True (*)
False
Correct
3. If you write queries using the BETWEEN operator, it does not matter in
what order you enter the values, i.e. BETWEEN low value AND high value
will give the same result as BETWEEN high value and low value. True or
False?
Mark for
Review
(1) Points
True
False (*)
Correct.
4. The EMPLOYEES table contains these columns:
Mark for
Review
(1) Points
LAST_NAME VARCHAR2(25)
FIRST_NAME VARCHAR2(25)
EMAIL VARCHAR2(50)
You are writing a SELECT statement to retrieve the names of employees
that have an email address.
SELECT last_name||', '||first_name "Employee Name"
FROM employees;
Which WHERE clause should you use to complete this statement?
Mark for
Review
(1) Points
Mark for
Review
(1) Points
Mark for
Review
(1) Points
#
% (*)
~
*
Correct.
9. Which of the following commands will display the last name
concatenated with the job ID from the employees table, separated
by a comma and space, and label the resulting column "Employee
and Title"?
Mark for
Review
(1) Points
department_id
department_id
department_id
department_id
Mark for
Review
(1) Points
(*)
Correct
11. When
using
the LIKE
conditio
n to
search
for _
symbol
s, which
charact
er can
you use
as the
default
ESCAPE
option?
%
^
&
\ (*)
Correct.
12. Which clause would you include in a SELECT statement to restrict
the data returned to only the employees in department 10?
Mark for
Review
(1) Points
IS
WHERE (*)
SELECT
FROM
Correct.
13. Which comparison condition would you use to select rows that
match a character pattern?
Mark for
Review
(1) Points
LIKE (*)
SIMILAR
IN
ALMOST
Correct.
14. The structure of the table can be displayed with the _________
command:
Mark for
Review
(1) Points
Dis
Desc and the Describe (*)
Describe
Desc
Correct
15. In order to eliminate duplicate rows use the ________ keyword
Mark for
Review
(1) Points
EXCLUSIVE
SINGLES_ONLY
DISTINCT (*)
FIRST_ONLY
Correct