ask AI to write the first query run it on safe data feed the error or result back into the model let it revise review only once the query works and the logic makes ...