DELETE * FROM `college_score_sheet` WHERE province = '江苏省' AND year =2021 > 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM `college_score_sheet` WHERE province = '江苏省' AND year =2021' at line 1
时间: 2023-07-02 08:10:46 浏览: 73
MySQL DELETE 语句
这个SQL语句有错误。DELETE语句的正确语法应该是:
```
DELETE FROM `college_score_sheet` WHERE province = '江苏省' AND year = 2021;
```
在这个语句中,我们删除了`college_score_sheet`表中满足条件的所有行,条件是省份为江苏省,年份为2021年。
阅读全文