clarify :ready_to_run SQL logic