|
主题:三个表查询时候为什么提示语法错误?在线等待 [收藏主题] |
语句:SqlStr="Select I.UserName,I.id,I.ProID,I.OrderID,I.status,I.orderid,I.inputtime,I.NoUseCouponMoney,I.MoneyTotal,I.MoneyReceipt,I.NeedInvoice,I.DeliverStatus,L.KS_dizhi,A.ID From KS_OrderItem A Left Join KS_Order I On A.ID=I.Id right inner Join KS_Product L On I.ProID=L.Id " & Param & " order by I.id desc" 错误:
错误类型: |
|
支持(0) | 反对(0) 顶端 底部 |
SqlStr="Select I.UserName,I.id,I.ProID,I.OrderID,I.status,I.orderid,I.inputtime,I.NoUseCouponMoney,I.MoneyTotal,I.MoneyReceipt,I.NeedInvoice,I.DeliverStatus,L.KS_dizhi,A.ID From KS_OrderItem A Left Join KS_Order I On A.ID=I.Id" & Param & " order by I.id desc"
这样查询两个表是正常的 |
|
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |