1
如何將其轉換爲linq? Thaksselect(select語句)
SELECT AccNo, AccName FROM (
SELECT fileNo AS AccNo, fileName AS AccName,
(SELECT oldID FROM USER WHERE USER.id = ACCOUNT.id) AS oldID,
(SELECT newID FROM USER WHERE USER.id = ACCOUNT.id) AS newID FROM FILE inner join ACCOUNT ON AccNo= FileAccNo) TblAllTable
WHERE AccNo="abc"
GROUP BY AccNo, AccName
您可以使用此[SQL到LINQ轉換器(http://www.sqltolinq.com/)? – Pezzzz