我有2个表,我已使用SQL查询
加入DataTable Table = Select FacilityIssueDetails.FacilityNo,LCPaymentDetails.BillNo, FacilityIssueDetails.FStatus,LCPaymentDetails.BankName , LCPaymentDetails.Supplier, FacilityIssueDetails.BaseAmount,FacilityIssueDetails.Currency, FacilityIssueDetails.FacilityAmountINR, LCPaymentDetails.PAmountINR , FacilityIssueDetails.LCAmountPaid, FacilityIssueDetails.LCAmountRemaining,FacilityIssueDetails.IssueDate, FacilityIssueDetails.ExpiryDate, LCPaymentDetails.LCNo
from FacilityIssueDetails,LCPaymentDetails
where FacilityIssueDetails.FacilityNo = LCPaymentDetails.LCNo
现在我想在存储在内存中的表上运行另一个SQL查询。
怎么做?这是一个选择查询。
请提前帮助,谢谢。