How to simplify candidate screening with sql test