我有以下查询
SELECT TOP 10
pkRowId AS [Row Guid],
fkItemId AS [Item Guid],
SortOrder AS [SortOrder],
IsMain,
Updated,
REPLACE(Url, 'i.ebayimg.com', 'ecx-images.amazon.com') AS [Url],
ROW_NUMBER() OVER (PARTITION BY fkItemId ORDER BY SortOrder) AS [Row Number]
FROM
[download].[item_image]
以以下格式显示数据:
我希望以以下格式显示:
如何旋转源,以便Url1
在IsMain为true
的地方显示Url?