Update sql.php

forgot to review this file before committing