Added check sql request