Quiz 2.2 Database Programming
Quiz 2.2 Database Programming
2 Database Programming
14 januari 2017oleh sheghet45, posted in materi
Section 2 Quiz
(Answer all questions in this section)
LIKE (*)
BETWEEN
AND
IN
Correct Correct.
3. You need to display all the values in the EMAIL column that
contains the underscore (_) character as part of that email address.
The WHERE clause in your SELECT statement contains the LIKE
operator. What must you include in the LIKE operator? Mark for
Review
(1) Points
Correct Correct
5. You need to display all the employees whose last names (of any
length) start with the letters ‘Sm’ . Which WHERE clause should you
use? Mark for Review
(1) Points
=======
Section 2 Quiz
(Answer all questions in this section)
True
False (*)
%
\ (*)
&
^
% (*)
#
_
&
Correct Correct.
10. Which of the following is NOT BEING DONE in this SQL
statement?
SELECT first_name || ‘ ‘ || last_name “Name”
FROM employees;
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?
Correct Correct.
13. Which two statements would select salaries that are greater than
or equal to 2500 and less than or equal to 3500? (Choose two) Mark
for Review
(1) Points