[求助]该查询语句出错在哪??
sql="select A.* ,B.name from A left Join B ON B.ID=A.ID where B.ID in(select ID from A where cid='"&cid&"')"| 用这个查询语句时显示时根本不按查询条件来!不知道错在哪??? |
[此贴子已经被作者于2006-5-5 23:01:38编辑过]
| 用这个查询语句时显示时根本不按查询条件来!不知道错在哪??? |
[此贴子已经被作者于2006-5-5 23:01:38编辑过]
2006-05-05 22:28
2006-05-05 22:33
2006-05-05 23:06
2006-05-06 10:02
我看看好象left Join B ON B.ID=A.ID 和 where B.ID in(select ID from A where cid='"&cid&"')
这两个条件的意思是重复的啊。

2006-05-06 14:43