My table Tags
has these records
Application ID TagName
/Blogs A75FB4D9-B0A2-45B1-A58D-9CC4E7FC1482 TagA
/News E1BDEF9D-4285-464F-88DC-00495B59D2AE TagA
/News 997F1721-335B-477A-9943-B91F0C21DE74 TagB
/Blogs BB1CEE87-AF8A-44D6-8A4B-EAB138BBEF10 TagB
I want to return only the first match of TagA
and TagB
, but the returning table must look exactly like the above (Application, ID, TagName), so I expect it to be:
/Blogs A75FB4D9-B0A2-45B1-A58D-9CC4E7FC1482 TagA
/News 997F1721-335B-477A-9943-B91F0C21DE74 TagB
How can I do that?