correction of the sql request