Please could somebody assist me in an example of the following SQL into a LINQ query in C#, I am using .NET 4.0.
SELECT x.*
FROM [eBookAddict].[dbo].[UrlRecord] x
JOIN (SELECT t.Slug
FROM [eBookAddict].[dbo].[UrlRecord] t
GROUP BY t.Slug
HAVING COUNT(t.Slug) = 2) y ON y.Slug = x.Slug
Many Thanks,
Paul