oracle de3

Upload: cuong-vu

Post on 04-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Oracle De3

    1/8

    03_Oracle_Exam

    QUESTION 1

    The PART_CODE column in the SPARES table contains the following list of values:

    PART_CODE-----------------A%_!"#$A%!"#$A_!"#$

    Evaluate the following &ue'(:

    S!)* SE)ECT +a't_co,eRO. s+a'es/ERE +a't_co,e )01E 2%3%_!"#%2 ESCAPE 2324

    hich statement is t'ue 'ega',ing the outcome of the above &ue'(5

    A6 0t +'o,uces an e''o'66 0t ,is+la(s all values6C6 0t ,is+la(s onl( the values A%_!"#$ an, A_!"#$6D6 0t ,is+la(s onl( the values A%_!"#$ an, A%!"#$6

    E6 0t ,is+la(s onl( the values A%!"#$ an, A_!"#$6

    QUESTION 2

    hich two statements a'e t'ue 'ega',ing single 'ow functions5 7Choose two68

    A6 The( acce+t onl( a single a'gument66 The( can be neste, onl( to two levels6C6 A'guments can onl( be column values o' constants6D6 The( alwa(s 'etu'n a single 'esult 'ow fo' eve'( 'ow of a &ue'ie, table6E6 The( can 'etu'n a ,ata t(+e value ,iffe'ent f'om the one that is 'efe'ence,6

    QUESTION 3

    hen ,oes a t'ansaction com+lete5 7Choose all that a++l(68

    A6 when a DE)ETE statement is e9ecute,6 when a RO))AC1 comman, is e9ecute,C6 when a P)S!) anon(mous bloc; is e9ecute,D6 when a ,ata ,efinition language 7DD)8 statement is e9ecute,E6 when a TRiew the E9hibit to e9amine the ,esc'i+tion fo' the SA)ES an, PROD

  • 8/13/2019 Oracle De3

    2/8

  • 8/13/2019 Oracle De3

    3/8

    03_Oracle_Exam

    A6 7+'omo_cost8H6#G Avg_Ove'hea, RO.+'omotions/ERE 2@ 20=TER=ET2@2POST28 RO

  • 8/13/2019 Oracle De3

    4/8

    03_Oracle_Exam

    A6 /ERE6 SE)ECTC6 RO

    iew the E9hibits an, e9amine the st'uctu'es of the PROD

  • 8/13/2019 Oracle De3

    5/8

    03_Oracle_Exam

    /ERE c6cust_cit(B2To;(o246 SE)ECT c6cust_last_name@ +6+'o,_name@ s6&uantit(_sol,

    RO. +'o,ucts + IO0= sales s IO0= custome's c

    O=7+6+'o,_i,Bs6+'o,_i,8O=7s6cust_i,Bc6cust_i,8/ERE c6cust_cit(B2To;(o24

    C6 SE)ECT c6cust_last_name@ +6+'o,_name@ s6&uantit(_sol,RO. +'o,ucts + IO0= sales s

    O=7+6+'o,_i,Bs6+'o,_i,8IO0= custome's cO=7s6cust_i,Bc6cust_i,8A=D c6cust_cit(B2To;(o24

    D6 SE)ECT c6cust_i,@c6cust_last_name@+6+'o,_i,@ +6+'o,_name@ s6&uantit(_sol, RO. +'o,ucts + IO0= sales sKK28RO. D

  • 8/13/2019 Oracle De3

    6/8

    03_Oracle_Exam

    RO

    A)EPO0=T a4S!)*

  • 8/13/2019 Oracle De3

    7/8

    03_Oracle_Exam

    S!)* SA>EPO0=T b4S!)* DE)ETE RO. +'o,uct /ERE +co,e B #4S!)* CO..0T4 S!)* DE)ETE RO. +'o,uct /ERE +co,eB"F4

    hich two statements ,esc'ibe the conse&uences of issuing the RO))AC1 TO SA>E PO0=T a comman, inthe session5 7Choose two68

    A6 The 'ollbac; gene'ates an e''o'66 =o S!) statements a'e 'olle, bac;6

    C6 Onl( the DE)ETE statements a'e 'olle, bac;6D6 Onl( the secon, DE)ETE statement is 'olle, bac;6E6 oth the DE)ETE statements an, the iew the E9hibit an, e9amine the ,esc'i+tion of SA)ES an, PRO.OT0O=S tables6 ?ou want to ,elete 'owsf'om the SA)ES table@ whe'e the PRO.O_=A.E column in the PRO.OT0O=S table has eithe' blowout saleo' eve'(,a( low +'ice as values6 hich DE)ETE statements a'e vali,5 7Choose all that a++l(68

    A6 DE)ETERO. sales

    /ERE +'omo_i, B 7SE)ECT +'omo_i,RO. +'omotions/ERE +'omo_name B 2blowout sale28A=D +'omo_i, B 7SE)ECT +'omo_i,RO. +'omotions

    7/8

  • 8/13/2019 Oracle De3

    8/8

    03_Oracle_Exam

    /ERE +'omo_name B 2eve'(,a( low +'ice2846 DE)ETE

    RO. sales/ERE +'omo_i, B 7SE)ECT +'omo_i,RO. +'omotions/ERE +'omo_name B 2blowout sale28OR +'omo_i, B 7SE)ECT +'omo_i,RO. +'omotions/ERE +'omo_name B 2eve'(,a( low +'ice284

    C6 DE)ETERO. sales/ERE +'omo_i, 0= 7SE)ECT +'omo_i,RO. +'omotions/ERE +'omo_name B 2blowout sale2OR +'omo_name B 2eve'(,a( low +'ice284

    D6 DE)ETERO. sales/ERE +'omo_i, 0= 7SE)ECT +'omo_i,RO. +'omotions/ERE +'omo_name 0= 72blowout sale2@2eve'(,a( low +'ice2884

    8/8