in simple way, you can get the result using below query
DECLARE @tbl AS TABLE (Table_Name NVARCHAR(50),Total_count INT,Matched INT)
INSERT INTO @tbl
SELECT 'Material Master',58941,30092 UNION ALL
SELECT 'rxml_values',512218,466637 UNION ALL
SELECT 'Materialdetail',56141,3090 UNION ALL
SELECT 'values details',533218,478637
select val from
(
select 'A' AS sr, Table_Name, 'Table_Name:' + Table_Name As val
FROM @tbl
UNION
select 'B' AS sr, Table_Name, 'Total_count:' + CAST(Total_count AS NVARCHAR(50)) As val
FROM @tbl
UNION
select 'C' AS sr, Table_Name, 'Matched:' + CAST(Matched AS NVARCHAR(50)) As val
FROM @tbl
) as tbl order by Table_Name,sr
Her is the result of above query -
Table_Name:Material Master
Total_count:58941
Matched:30092
Table_Name:Materialdetail
Total_count:56141
Matched:3090
Table_Name:rxml_values
Total_count:512218
Matched:466637
Table_Name:values details
Total_count:533218
Matched:478637