January 2005
Beginner to intermediate
928 pages
22h 14m
English
| 1: | Given the following employee table:
empno firstnme lastname salary
----------------------------------------------
000010 Peter Smith 38752.00
000020 Christine Haas 52234.00
000030 John Geyer 38250.00
000040 Irving Poon 40175.00
000050 Eva Pulaski 36170.00
How many rows are returned from the following SQL statement? SELECT empno FROM employee WHERE lastname LIKE 'P%' AND salary > 38500
|
| 2: | Given the following table t1:
id job bonus
---------------------------
1 Mgr -
2 Sales 10
3 Mgr -
4 DBA 15
Which of the following SQL statement will retrieve the rows that have unknown values in the bonus column?
|
Read now
Unlock full access