SELECT 学号,姓名,总学分
FROM xsb
WHEN 专业='计算机'
出现1064错误
1 queries executed, 0 success, 1 errors, 0 warnings
查询:select 学号,姓名,总学分 from xsb when 专业='计算机' LIMIT 0, 1000
错误代码: 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 'when 专业='计算机'
LIMIT 0, 1000' at line 3
执行耗时 : 0 sec
传送时间 : 0 sec
总耗时 : 0 sec
这是什么错误,解决不了了