TenFour Interview Question

reading a program in VB, writing a algorithm and write a sql query.