dry up running the sql query