还是看不出哪里错误,谢谢了各位帮忙看看。
use test1go
if rls in(select name from teacher where age=22)
printas '任老师年龄22岁'
ELSE
printas '任老师年龄不是22岁'
提示错误如下:
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 'go
if rls in(select name from teacher where age=22)
printas '任老师年' at line 2 各位,这个是什么错误呀。。
页:
[1]