(Answer all questions in this section) You ou issue this SQL statement: 1. Y SELECT TRUNC(7!"#$7%&!) 'R *ual+ ,hich -alue *oes this statement *is.la/0
ar1 2or Re-iew (!) 3oints
74 (5) 7! 744 7!"#
6ncorrect" Re2er Re2er to Section Lesson 8"
2. RUN9 an* TRUNC 2unctions can e use* with which o2 the 2ollowin; 9atat/.es0
E-aluate this SELECT statement: SELECT LENBT?(email) 'R em.lo/ee+ ,hat will this SELECT statement *is.la/0
The maimum numer o2 characters allowe* in the EA6L column The email a**ress o2 each em.lo/ee in the E3LYEE tale The numer o2 characters 2or each -alue in the EA6L column in the em.lo/ees tale (5)
ar1 2or Re-iew
(!) 3oints
The lon;est e&mail a**ress in the E3LYEE tale
Correct
8.
,hich three statements aout 2unctions are true0 (Choose three")
ar1 2or Re-iew
(!) 3oints (Choose all correct answers)
The CNCAT 2unction can onl/ e use* on character strin;s% not on numers" The SU
9.
Character 2unctions acce.t character ar;uments an* onl/ return character -alues" True or 'alse0
ar1 2or Re-iew (!) 3oints
True 'alse (5)
Correct
10. You quer/ the *ataase with this SQL statement:
SELECT CNCAT(last@name% (SU
CNCAT SU
Correct
11. ,hich
ar1 2or Re-iew 2unction woul* /ou use to (!) 3oints return the current *ataase ser-er *ate an* time0 CURRENT9ATE
ar1 2or Re-iew
(!) 3oints
9ATET6E SYS9ATE (5) 9ATE
Correct
12.
You nee* to sutract three months 2rom the current *ate" ,hich 2unction shoul* /ou use0
ar1 2or Re-iew (!) 3oints
RUN9 NT?S@
Correct
13.
,hat 2unction woul* /ou use to return the hi;hest *ate in a month0
ar1 2or Re-iew (!) 3oints
EN9@9AY ?6B?EST@9AY '6NAL@9AY LAST@9AY (5)
Correct
14.
,hich SELECT statement will return a numeric -alue0
ar1 2or Re-iew
(!) 3oints SELECT SYS9ATE & 7 'R em.lo/ees+ SELECT SYS9ATE F $44 G 8 'R em.lo/ees+ SELECT RUN9(hire@*ate% 9AY) 'R em.lo/ees+ SELECT (SYS9ATE & hire@*ate) G 7 'R em.lo/ees+ (5)
Correct
15.
,hich quer/ woul* return a whole numer i2 the s/s*ate is 8$&a/&8440