ラムダ式に変換したい次の SQL があります。
SELECT DISTINCT Make FROM
(
SELECT DISTINCT [Option] AS Make FROM [dbo].[ItemCategoryDetailOptions]
WHERE [IsHidden] = 0 AND [Retired] is null
UNION
SELECT DISTINCT [Brand] AS Make FROM [dbo].[Items] WHERE [Brand] is not null
) AS result
WHERE Make LIKE '%LG%'