sat_query application