我想這個SQL查詢LINQ轉換,但未能如願.. 任何幫助表示讚賞...L2S:轉換SQL查詢到LINQ
SELECT [t0].id,
sum([t1].[total_Statements]) AS [value],
sum([t1].[totalpage] - [t1].[total_Statements]) AS [value2],
sum([t1].[total_bad]) AS [value3],
[t0].[biller_id]
FROM [dbo].[upload_t] AS [t0]
left JOIN [dbo].[printer] AS [t1] ON
((CONVERT(NVarChar,[t0].[id])) = [t1].bill])
where (([t0].[biller_id] = 10)
group by [t0].[biller_id],[t0].id,[t0].[date]
ORDER BY [t0].[date] DESC
[你有什麼嘗試](http://whathaveyoutried.com/)? – 2012-07-31 12:01:08
你失敗了? – leppie 2012-07-31 12:02:41
Darek得到了解決方案..感謝 – 2012-07-31 12:15:11