执行SQL命令失败,怎么回事

来源:百度知道 编辑:UC知道 时间:2024/06/14 16:41:09
执行SQL命令失败

1、执行select id from examin_on where user='ljy95'失败!
2、由于系统故障,请重试一遍;如果问题得不到解决,请和Winder联系。

应该怎么解决,请帮帮忙!!拜托~急.

select id from examin_on where user='ljy95'
修改:
select id,user from examin_on where user='ljy95'
查询语句没有user字段,而条件中出现user字段,肯定出错!

最后的分号你没打出来啊
select id from examin_on where user='ljy95';
分号

试一下:select id from examin_on where [user]='ljy95',