BNY interview question

Starts from Script & ends at db