NetApp Interview Question

Decode function in SQL , journal creation process...