first we deal with LiAlH4 .
LiAlH4 usually reduces C=O,-COOR,_COOH,-CONHR,-C(triple bond)N but it has no effect on corbon corbon multiple bonds(with some exceptions)
where as NABH4 reduces aldehydess and kettones but it has no effect on epoxides,esters,lactones,corboxylic acids,nitrle and nitro group and corbon corbon multiple bonds
the reason is NaBH4 is milder reducing agent than LiAlH4