执行SQL时提示,SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确.请大伙帮帮忙
语句如下:sql1="SELECTDepart.depart_nameasaa,Employee.emp_nameasbb,TimeRecords.sign_timeas...
语句如下:sql1="SELECT Depart.depart_name as aa, Employee.emp_name as bb, TimeRecords.sign_time as cc"&_
"FROM (Employee INNER JOIN TimeRecords ON Employee.card_id = TimeRecords.card_id) INNER JOIN Depart ON Employee.depart_id = Depart.depart_id"
rs.open sql1,com,1,1
谢谢你,在你回答之前我已解决了,就是cc"&_
"FROM (Employee
的问题,后来我将SQL读出来看,到底哪有问题,结果就解决了,还是谢谢你 展开
"FROM (Employee INNER JOIN TimeRecords ON Employee.card_id = TimeRecords.card_id) INNER JOIN Depart ON Employee.depart_id = Depart.depart_id"
rs.open sql1,com,1,1
谢谢你,在你回答之前我已解决了,就是cc"&_
"FROM (Employee
的问题,后来我将SQL读出来看,到底哪有问题,结果就解决了,还是谢谢你 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询