0
我怎么能转换之后,以LINQ(这两个扩展方法语法和查询语法)SQL查询的类型,转换SQL(复杂),以LINQ
select t.Roll_Number,t.Status from (
select * ,
count(case when status <> 0 then 1 end) over(partition by Roll_Number,Subject_Code) c
from table_1
) t where c = 0
GROUP BY t.Roll_Number,t.Status
ORDER BY t.Roll_Number
看看https://www.linqpad.net/Download.aspx – Snowlockk