-2
SELECT (count(Competency_Id) * 100 /(Select count(Competency_Id) from [dbo].[QLs]))
as Percentage ,[dbo].[Competencies].Name as CompetencyName
FROM [dbo].[QLs]
INNER JOIN [dbo].[Competencies]
ON [dbo].[QLs].Competency_Id= [dbo].[Competencies].Id
GROUP BY dbo.[QLs].Competency_Id,dbo.[Competencies].Name
我需要幫助從上面提到的SQL查詢創建一個Linq。請協助。謝謝需要幫助來從SQL查詢中編寫Linq查詢