不多 XX,上代码!
delete from course c where c.course_id = 15
居然报错了! 尴尬,我居然连这么简单的SQL都不会写了。
image.png
随即百度了一下,正确写法:
第一种方式
delete from course where course_id = 15
第二种方式
delete c from course c where c.course_id = 15
不多 XX,上代码!
delete from course c where c.course_id = 15
居然报错了! 尴尬,我居然连这么简单的SQL都不会写了。
delete from course where course_id = 15
delete c from course c where c.course_id = 15
本文标题:令我怀疑人生的删除语句...
本文链接:https://www.haomeiwen.com/subject/crgswktx.html
网友评论