DBS Bank interview question

Mostly on Unix commands and sql