Вы находитесь на странице: 1из 6

Section 3 Quiz (Answer all questions in this section)

Section 3 Quiz (Answer all questions in this section) 1 . The following statement represents a

1. The following statement represents a multi-row function. True or False?

statement represents a multi-row function. True or False? SELECT MAX(salary) FROM employees   True (*)
statement represents a multi-row function. True or False? SELECT MAX(salary) FROM employees   True (*)

SELECT MAX(salary)statement represents a multi-row function. True or False? FROM employees   True (*)   False Correct

FROM employees

 
 
True (*)
True (*)
True (*)
True (*)
True (*)

True (*)

 
False
False

False

FROM employees   True (*)   False Correct 2 . Evaluate this SQL statement: SELECT
FROM employees   True (*)   False Correct 2 . Evaluate this SQL statement: SELECT

Correct

Correct
FROM employees   True (*)   False Correct 2 . Evaluate this SQL statement: SELECT e.employee_id,

2. Evaluate this SQL statement:

SELECT e.employee_id, e.last_name, e.first_name, m.manager_id FROM employees e, employees m

e.first_name, m.manager_id FROM employees e, employees m ORDER BY e.last_name, e.first_name WHERE e.employee_id =

ORDER BY e.last_name, e.first_name WHERE e.employee_id = m.manager_id;e.first_name, m.manager_id FROM employees e, employees m This statement fails when executed. Which change will

This statement fails when executed. Which change will correct the problem?

fails when executed. Which change will correct the problem? Remove the table aliases in the ORDER

Remove the table aliases in the ORDER BY clause.

Reorder the clauses in the query. (*) Include a HAVING clause. Remove the table aliases

Reorder the clauses in the query. (*)

Reorder the clauses in the query. (*)

Include a HAVING clause.

Reorder the clauses in the query. (*) Include a HAVING clause. Remove the table aliases in

Remove the table aliases in the WHERE clause.

Reorder the clauses in the query. (*) Include a HAVING clause. Remove the table aliases in
clause. Remove the table aliases in the WHERE clause. Correct. 3 . The PLAYERS table contains
clause. Remove the table aliases in the WHERE clause. Correct. 3 . The PLAYERS table contains

Correct.

Correct.
Remove the table aliases in the WHERE clause. Correct. 3 . The PLAYERS table contains these

3. The PLAYERS table contains these columns:

PLAYERS TABLE:

LAST_NAME VARCHAR2 (20) FIRST_NAME VARCHAR2 (20) SALARY NUMBER(8,2) TEAM_ID NUMBER(4)

MANAGER_ID NUMBER(9)

POSITION_ID NUMBER(4)

You must display the player name, team id, and salary for players whose salary is in the range from 25000 through 100000 and whose team id is in the range of 1200 through 1500. The results must be sorted by team id from lowest to highest and then further sorted by salary from highest to lowest. Which statement should you use to display the desired result?

statement should you use to display the desired result?   SELECT last_name, first_name, team_id, salary
 
 
SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary

SELECT last_name, first_name, team_id, salary

FROM players WHERE salary BETWEEN 24999.99 AND 100000.01 AND team_id BETWEEN 1200 AND 1500 ORDER
FROM players WHERE salary BETWEEN 24999.99 AND 100000.01 AND team_id BETWEEN 1200 AND 1500 ORDER

FROM players WHERE salary BETWEEN 24999.99 AND 100000.01 AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id DESC, salary DESC;SELECT last_name, first_name, team_id, salary

AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id DESC, salary DESC; SELECT last_name, first_name, team_id,

SELECT last_name, first_name, team_id, salary

FROM players WHERE salary BETWEEN 25000 AND 100000 AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id, salary DESC;AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id DESC, salary DESC; SELECT last_name, first_name, team_id,

Mark for Review

(1) Points

AND 1500 ORDER BY team_id, salary DESC; Mark for Review (1) Points Mark for Review (1)

Mark for Review

(1) Points

AND 1500 ORDER BY team_id, salary DESC; Mark for Review (1) Points Mark for Review (1)

Mark for Review

(1) Points

AND 1500 ORDER BY team_id, salary DESC; Mark for Review (1) Points Mark for Review (1)
 

(*)

SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary

SELECT last_name, first_name, team_id, salary

SELECT last_name, first_name, team_id, salary

FROM players WHERE (salary > 25000 OR salary < 100000) AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id, salary;  (*) SELECT last_name, first_name, team_id, salary SELECT last_name, first_name, team_id, salary FROM players WHERE

SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary
SELECT last_name, first_name, team_id, salary

SELECT last_name, first_name, team_id, salary

SELECT last_name, first_name, team_id, salary

FROM players WHERE salary > 24999.99 AND salary < 100000 AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id ASC, salary DESC;< 100000) AND team_id BETWEEN 1200 AND 1500 ORDER BY team_id, salary; SELECT last_name, first_name, team_id,

BETWEEN 1200 AND 1500 ORDER BY team_id ASC, salary DESC; Correct. 4 . The function COUNT
BETWEEN 1200 AND 1500 ORDER BY team_id ASC, salary DESC; Correct. 4 . The function COUNT

Correct.

Correct.
1200 AND 1500 ORDER BY team_id ASC, salary DESC; Correct. 4 . The function COUNT is

4. The function COUNT is a single row function. True or False?

The function COUNT is a single row function. True or False?   True   False (*)
 
 
True
True
True
True
True

True

 
False (*)
False (*)

False (*)

Mark for Review

(1) Points

True   False (*) Mark for Review (1) Points Correct 5 . The PLAYERS table contains
True   False (*) Mark for Review (1) Points Correct 5 . The PLAYERS table contains
True   False (*) Mark for Review (1) Points Correct 5 . The PLAYERS table contains

Correct

Correct
  False (*) Mark for Review (1) Points Correct 5 . The PLAYERS table contains these

5. The PLAYERS table contains these columns:

PLAYERS TABLE:

LAST_NAME VARCHAR2 (20) FIRST_NAME VARCHAR2 (20) SALARY NUMBER(8,2) TEAM_ID NUMBER(4)

VARCHAR2 (20) SALARY NUMBER(8,2) TEAM_ID NUMBER(4) MANAGER_ID NUMBER(9) POSITION_ID NUMBER(4) You want to

MANAGER_ID NUMBER(9) POSITION_ID NUMBER(4)VARCHAR2 (20) SALARY NUMBER(8,2) TEAM_ID NUMBER(4) You want to display all players' names with position

You want to display all players' names with position 6900 or greater. You want the players names to be displayed alphabetically by last name and then by first name. Which statement should you use to achieve the required results?

statement should you use to achieve the required results? SELECT last_name, first_name FROM players WHERE position_id

SELECT last_name, first_name

achieve the required results? SELECT last_name, first_name FROM players WHERE position_id > 6900 ORDER BY

FROM players WHERE position_id > 6900 ORDER BY last_name, first_name;achieve the required results? SELECT last_name, first_name SELECT last_name, first_name FROM players WHERE position_id

WHERE position_id > 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id
WHERE position_id > 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id
WHERE position_id > 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id

SELECT last_name, first_name

FROM players WHERE position_id <= 6900 ORDER BY last_name, first_name;ORDER BY last_name, first_name; SELECT last_name, first_name SELECT last_name, first_name FROM players WHERE position_id

position_id <= 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id
position_id <= 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id
position_id <= 6900 ORDER BY last_name, first_name; SELECT last_name, first_name FROM players WHERE position_id

SELECT last_name, first_name

FROM players WHERE position_id >= 6900 ORDER BY last_name, first_name;ORDER BY last_name, first_name; SELECT last_name, first_name (*) SELECT last_name, first_name FROM players WHERE

position_id >= 6900 ORDER BY last_name, first_name; (*) SELECT last_name, first_name FROM players WHERE
position_id >= 6900 ORDER BY last_name, first_name; (*) SELECT last_name, first_name FROM players WHERE
position_id >= 6900 ORDER BY last_name, first_name; (*) SELECT last_name, first_name FROM players WHERE

(*)

SELECT last_name, first_name

FROM players WHERE position_id >= 6900 ORDER BY last_name DESC, first_name;WHERE position_id >= 6900 ORDER BY last_name, first_name; (*) SELECT last_name, first_name Mark for Review (1)

first_name FROM players WHERE position_id >= 6900 ORDER BY last_name DESC, first_name; Mark for Review (1)
first_name FROM players WHERE position_id >= 6900 ORDER BY last_name DESC, first_name; Mark for Review (1)

Mark for Review

(1) Points

first_name FROM players WHERE position_id >= 6900 ORDER BY last_name DESC, first_name; Mark for Review (1)
first_name FROM players WHERE position_id >= 6900 ORDER BY last_name DESC, first_name; Mark for Review (1)
Correct. 6. A column alias can be specified in an ORDER BY Clause. True or

Correct.

6. A

Correct. 6. A column alias can be specified in an ORDER BY Clause. True or False?

column

alias can

be

specified

in an

ORDER

BY

Clause.

True or

False?

Mark for Reviewalias can be specified in an ORDER BY Clause. True or False? (1) Points True (*)

(1) Points

ORDER BY Clause. True or False? Mark for Review (1) Points True (*) False    
True (*) False               Incorrect! See Section 3 Lesson
True (*) False               Incorrect! See Section 3 Lesson
True (*) False               Incorrect! See Section 3 Lesson
True (*) False               Incorrect! See Section 3 Lesson
True (*) False               Incorrect! See Section 3 Lesson
True (*) False               Incorrect! See Section 3 Lesson
True (*) False  
True (*) False  
True (*) False  
True (*) False

True (*)

False

 
True (*) False  
   
 
 
 
 
 
   
True (*) False               Incorrect! See Section 3 Lesson 2.
True (*) False               Incorrect! See Section 3 Lesson 2.
True (*) False               Incorrect! See Section 3 Lesson 2.
True (*) False               Incorrect! See Section 3 Lesson 2.
True (*) False               Incorrect! See Section 3 Lesson 2.
True (*) False               Incorrect! See Section 3 Lesson 2.
 
  Incorrect! See Section 3 Lesson 2.

Incorrect! See Section 3 Lesson 2.

Incorrect! See Section 3 Lesson 2.
      Incorrect! See Section 3 Lesson 2. 7 . Which columns can be added
      Incorrect! See Section 3 Lesson 2. 7 . Which columns can be added
      Incorrect! See Section 3 Lesson 2. 7 . Which columns can be added
      Incorrect! See Section 3 Lesson 2. 7 . Which columns can be added

7. Which columns can be added to the ORDER BY clause in the following

7 . Which columns can be added to the ORDER BY clause in the following
7 . Which columns can be added to the ORDER BY clause in the following

SELECT statement? (Choose Three)

SELECT first_name, last_name, salary, hire_date
SELECT first_name, last_name, salary, hire_date

SELECT first_name, last_name, salary, hire_date

FROM employees WHERE department_id = 50 ORDER BY ?????;

 
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
employees WHERE department_id = 50 ORDER BY ?????;     (Choose all correct answers)   last_name,
 

(Choose all correct answers)

 
    (Choose all correct answers)   last_name, first_name (*) All the columns in the database
    (Choose all correct answers)   last_name, first_name (*) All the columns in the database
    (Choose all correct answers)   last_name, first_name (*) All the columns in the database
    (Choose all correct answers)   last_name, first_name (*) All the columns in the database
last_name, first_name (*)
last_name, first_name (*)
last_name, first_name (*)
last_name, first_name (*)

last_name, first_name (*)

last_name, first_name (*)
All the columns in the database
All the columns in the database
All the columns in the database
All the columns in the database

All the columns in the database

All the columns in the database
Any column in the EMPLOYEES table, any expression in the SELECT list
Any column in the EMPLOYEES table, any expression in the SELECT list
Any column in the EMPLOYEES table, any expression in the SELECT list
Any column in the EMPLOYEES table, any expression in the SELECT list

Any column in the EMPLOYEES table, any expression in the SELECT list

Any column in the EMPLOYEES table, any expression in the SELECT list
 

or any ALIAS in the SELECT list (*)

All columns in the EMPLOYEES table (*)
All columns in the EMPLOYEES table (*)
All columns in the EMPLOYEES table (*)
All columns in the EMPLOYEES table (*)

All columns in the EMPLOYEES table (*)

All columns in the EMPLOYEES table (*)
The table name, EMPLOYEES, which would then automatically sort by all
The table name, EMPLOYEES, which would then automatically sort by all
The table name, EMPLOYEES, which would then automatically sort by all
The table name, EMPLOYEES, which would then automatically sort by all

The table name, EMPLOYEES, which would then automatically sort by all

The table name, EMPLOYEES, which would then automatically sort by all
 

columns in the table

 
sort by all   columns in the table     Correct 8 . What clause must
sort by all   columns in the table     Correct 8 . What clause must
sort by all   columns in the table     Correct 8 . What clause must
sort by all   columns in the table     Correct 8 . What clause must
sort by all   columns in the table     Correct 8 . What clause must
sort by all   columns in the table     Correct 8 . What clause must
 
  Correct

Correct

Correct
by all   columns in the table     Correct 8 . What clause must you
by all   columns in the table     Correct 8 . What clause must you
by all   columns in the table     Correct 8 . What clause must you
by all   columns in the table     Correct 8 . What clause must you

8. What clause must you place in a SQL statement to have your results sorted

8 . What clause must you place in a SQL statement to have your results sorted
8 . What clause must you place in a SQL statement to have your results sorted
from highest to lowest salary?  
from highest to lowest salary?  

from highest to lowest salary?

 
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
your results sorted from highest to lowest salary?   ORDER BY salary ASC ORDER salary BY
ORDER BY salary ASC
ORDER BY salary ASC
ORDER BY salary ASC

ORDER BY salary ASC

ORDER BY salary ASC
ORDER salary BY DESC
ORDER salary BY DESC
ORDER salary BY DESC
ORDER salary BY DESC

ORDER salary BY DESC

ORDER salary BY DESC
ORDER BY salary DESC (*)
ORDER BY salary DESC (*)
ORDER BY salary DESC (*)

ORDER BY salary DESC (*)

ORDER BY salary DESC (*)
None, the database always sorts from highest to lowest on the salary
None, the database always sorts from highest to lowest on the salary
None, the database always sorts from highest to lowest on the salary

None, the database always sorts from highest to lowest on the salary

None, the database always sorts from highest to lowest on the salary
 

column.

BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
 
  Correct

Correct

Correct
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary
BY salary DESC (*) None, the database always sorts from highest to lowest on the salary

Mark for Review

(1) Points

to lowest on the salary   column.   Correct Mark for Review (1) Points Mark for

Mark for Review

(1) Points

to lowest on the salary   column.   Correct Mark for Review (1) Points Mark for

9.

Which of the following is true of the ORDER BY clause:? (Choose Two)

the following is true of the ORDER BY clause:? (Choose Two) (Choose all correct answers) Must
the following is true of the ORDER BY clause:? (Choose Two) (Choose all correct answers) Must

(Choose all correct answers)

ORDER BY clause:? (Choose Two) (Choose all correct answers) Must be the last clause of the
ORDER BY clause:? (Choose Two) (Choose all correct answers) Must be the last clause of the

Must be the last clause of the SQL statement (*)

Must be the last clause of the SQL statement (*)

Defaults to a descending order (DESC)

Defaults to a descending order (DESC)

Displays the fetched rows in no particular order

Displays the fetched rows in no particular order

Defaults to an ascending order (ASC) (*)

Defaults to an ascending order (ASC) (*)
order Defaults to an ascending order (ASC) (*) Incorrect! See Section 3 Lesson 2. 1 0
Incorrect! See Section 3 Lesson 2.

Incorrect! See Section 3 Lesson 2.

Incorrect! See Section 3 Lesson 2.
ascending order (ASC) (*) Incorrect! See Section 3 Lesson 2. 1 0 . What value will

10. What value will the following SQL statement return?

0 . What value will the following SQL statement return? SELECT employee_id Mark for Review (1)

SELECT employee_id

Mark for Review

(1) Points

return? SELECT employee_id Mark for Review (1) Points Mark for Review (1) Points FROM employees WHERE

Mark for Review

(1) Points

Mark for Review (1) Points Mark for Review (1) Points FROM employees WHERE employee_id BETWEEN 100
FROM employees WHERE employee_id BETWEEN 100 AND 150 OR employee_id IN(119, 175, 205) AND (employee_id
FROM employees
WHERE employee_id BETWEEN 100 AND 150
OR employee_id IN(119, 175, 205)
AND (employee_id BETWEEN 150 AND 200);
No rows will be returned
200, 201, 202, 203, 204, 205, 206
19
100, 101, 102, 103, 104, 107, 124, 141, 142, 143, 144, 149 (*)
Correct.   1 1 . Which       clause would you include in a
Correct.   1 1 . Which       clause would you include in a
Correct.   1 1 . Which       clause would you include in a
Correct.   1 1 . Which       clause would you include in a
Correct.   1 1 . Which       clause would you include in a
Correct.   1 1 . Which       clause would you include in a
Correct.  
Correct.  
Correct.  
Correct.  
Correct.  

Correct.

 

11. Which

1 1 . Which
 
1 1 . Which    
 
 

clause would you include in a SELECT statement to sort the rows returned by the LAST_NAME column?

clause would you include in a SELECT statement to sort the rows returned by the LAST_NAME
clause would you include in a SELECT statement to sort the rows returned by the LAST_NAME
 

Mark for Review

(1) Points

Mark for Review (1) Points
the LAST_NAME column?   Mark for Review (1) Points HAVING     FROM     WHERE
the LAST_NAME column?   Mark for Review (1) Points HAVING     FROM     WHERE
the LAST_NAME column?   Mark for Review (1) Points HAVING     FROM     WHERE
the LAST_NAME column?   Mark for Review (1) Points HAVING     FROM     WHERE
HAVING
HAVING
HAVING
HAVING

HAVING

HAVING
   
FROM
FROM
FROM

FROM

FROM
   
WHERE
WHERE
WHERE

WHERE

WHERE
   
ORDER BY (*)  
ORDER BY (*)  
ORDER BY (*)  

ORDER BY (*)

 
ORDER BY (*)  
   
WHERE     ORDER BY (*)         Correct.   1 2 . Which
WHERE     ORDER BY (*)         Correct.   1 2 . Which
WHERE     ORDER BY (*)         Correct.   1 2 . Which
WHERE     ORDER BY (*)         Correct.   1 2 . Which
WHERE     ORDER BY (*)         Correct.   1 2 . Which
WHERE     ORDER BY (*)         Correct.   1 2 . Which
 
  Correct.

Correct.

Correct.
 
 
 
 
 
1 2 . Which logical operator returns TRUE if either condition is true? Mark for
1 2 . Which logical operator returns TRUE if either condition is true? Mark for

12. Which logical operator returns TRUE if either condition is true?

1 2 . Which logical operator returns TRUE if either condition is true?
1 2 . Which logical operator returns TRUE if either condition is true? Mark for Review

Mark for Review

 

(1) Points

(1) Points
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
  1 2 . Which logical operator returns TRUE if either condition is true? Mark for
BOTH NOT OR (*) AND
BOTH
NOT
OR (*)
AND
  Correct. 1 3 . Which statement about the default sort order is true? Mark
  Correct. 1 3 . Which statement about the default sort order is true? Mark
  Correct. 1 3 . Which statement about the default sort order is true? Mark
  Correct. 1 3 . Which statement about the default sort order is true? Mark
  Correct. 1 3 . Which statement about the default sort order is true? Mark
  Correct. 1 3 . Which statement about the default sort order is true? Mark
 
  Correct.

Correct.

  Correct.
  Correct. 1 3 . Which statement about the default sort order is true? Mark for
  Correct. 1 3 . Which statement about the default sort order is true? Mark for
  Correct. 1 3 . Which statement about the default sort order is true? Mark for
  Correct. 1 3 . Which statement about the default sort order is true? Mark for
1 3 . Which statement about the default sort order is true? Mark for Review
1 3 . Which statement about the default sort order is true? Mark for Review

13. Which statement about the default sort order is true?

1 3 . Which statement about the default sort order is true?
1 3 . Which statement about the default sort order is true? Mark for Review

Mark for Review

 

(1) Points

(1) Points
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
sort order is true? Mark for Review   (1) Points Character values are displayed in reverse
Character values are displayed in reverse alphabetical order.
Character values are displayed in reverse alphabetical order.
Character values are displayed in reverse alphabetical order.

Character values are displayed in reverse alphabetical order.

Character values are displayed in reverse alphabetical order.
Null values are displayed first.
Null values are displayed first.
Null values are displayed first.

Null values are displayed first.

Null values are displayed first.
The lowest numeric values are displayed last.  
The lowest numeric values are displayed last.  
The lowest numeric values are displayed last.  
The lowest numeric values are displayed last.

The lowest numeric values are displayed last.

The lowest numeric values are displayed last.
 
The earliest date values are displayed first. (*)
The earliest date values are displayed first. (*)
The earliest date values are displayed first. (*)

The earliest date values are displayed first. (*)

The earliest date values are displayed first. (*)
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
  The earliest date values are displayed first. (*)   Correct. 1 4 . Which of
 
  Correct.

Correct.

  Correct.
date values are displayed first. (*)   Correct. 1 4 . Which of the following would
date values are displayed first. (*)   Correct. 1 4 . Which of the following would
date values are displayed first. (*)   Correct. 1 4 . Which of the following would
date values are displayed first. (*)   Correct. 1 4 . Which of the following would

14. Which of the following would be returned by this SQL statement:

1 4 . Which of the following would be returned by this SQL statement:
1 4 . Which of the following would be returned by this SQL statement:

SELECT First_name, last_name, department_id

 

Mark for Review

(1) Points

Mark for Review (1) Points
FROM employees
FROM employees

FROM employees

WHERE department_id IN(50,80) AND first_name LIKE ' C% ' OR last_name LIKE ' %s% '

 
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID

FIRST_NAME LAST_NAME DEPARTMENT_ID' C% ' OR last_name LIKE ' %s% '     Shelly Higgins 110 FIRST_NAME LAST_NAME

FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
FIRST_NAME LAST_NAME DEPARTMENT_ID
 

Shelly

Higgins

110

FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  

FIRST_NAME LAST_NAME DEPARTMENT_ID 

FIRST_NAME LAST_NAME DEPARTMENT_ID
 
 

Curtis

Davies

50

FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  

FIRST_NAME LAST_NAME DEPARTMENT_ID 

FIRST_NAME LAST_NAME DEPARTMENT_ID
 
 

Randall Matos

50

FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  
FIRST_NAME LAST_NAME DEPARTMENT_ID  

FIRST_NAME LAST_NAME DEPARTMENT_ID 

FIRST_NAME LAST_NAME DEPARTMENT_ID
 
 

Michael

Hartstein

20

All of the above (*)  
All of the above (*)  
All of the above (*)  
All of the above (*)

All of the above (*)

 
All of the above (*)  
  Correct   1 5 . Which of the following are TRUE regarding the logical
  Correct   1 5 . Which of the following are TRUE regarding the logical
  Correct   1 5 . Which of the following are TRUE regarding the logical
  Correct   1 5 . Which of the following are TRUE regarding the logical
  Correct   1 5 . Which of the following are TRUE regarding the logical
  Correct   1 5 . Which of the following are TRUE regarding the logical
 
  Correct

Correct

Correct
 
 
 
 
 
1 5 . Which of the following are TRUE regarding the logical AND operator? Mark
1 5 . Which of the following are TRUE regarding the logical AND operator? Mark

15. Which of the following are TRUE regarding the logical AND operator?

1 5 . Which of the following are TRUE regarding the logical AND operator?
1 5 . Which of the following are TRUE regarding the logical AND operator? Mark for

Mark for Review

 

(1) Points

(1) Points
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
logical AND operator? Mark for Review   (1) Points FALSE AND TRUE return NULL    
FALSE AND TRUE return NULL
FALSE AND TRUE return NULL
FALSE AND TRUE return NULL
FALSE AND TRUE return NULL

FALSE AND TRUE return NULL

FALSE AND TRUE return NULL
   
TRUE AND FALSE return TRUE  
TRUE AND FALSE return TRUE  
TRUE AND FALSE return TRUE  

TRUE AND FALSE return TRUE

TRUE AND FALSE return TRUE
 
   
TRUE AND FALSE return FALSE (*)  
TRUE AND FALSE return FALSE (*)  
TRUE AND FALSE return FALSE (*)  

TRUE AND FALSE return FALSE (*)

TRUE AND FALSE return FALSE (*)
 
   
TRUE AND TRUE return FALSE  
TRUE AND TRUE return FALSE  
TRUE AND TRUE return FALSE  

TRUE AND TRUE return FALSE

TRUE AND TRUE return FALSE
 
   
TRUE AND FALSE return FALSE (*)       TRUE AND TRUE return FALSE    
TRUE AND FALSE return FALSE (*)       TRUE AND TRUE return FALSE    
Correct.

Correct.