1
UPDATE tasks SET state = 'ready' WHERE state = 'queued';