0

我有以下 T-SQL:

SELECT Cust.[CompanyName] FROM Customers AS Cust WHERE ( Cust.[CompanyName] IN (SELECT CustSQ1.[CompanyName] AS [Customer Company name] FROM Customers AS CustSQ1 WHERE ( CustSQ1.Country = 'Argentina' ) ) )

我如何在 EntitySQL 中做同样的事情?

4

1 回答 1

1

我找到了解决方案。对应的EntitySQL为: "SELECT Cust.[CompanyName] FROM (SELECT CustSQ1.[CompanyName] FROM Customers AS CustSQ1 WHERE ( CustSQ1.Country = 'Argentina' )) AS Cust"

于 2012-02-13T09:55:32.293 回答