Green Dot Interview Question

simple programming task to select data from table and then filter it