fix sample sql.