Subex interview question

Basics of Unix and SQL