fixed getGPSBy

never use sql keywords as column names ...