Remove unnecessary echo sql