Can obtain the output using simple WHILE LOOP
DECLARE @table TABLE
(ID int ,Article varchar(5),[Count] int)
INSERT INTO @table
(ID,Article,Count)
VALUES
(1,'A',1),(2,'B',4),(3,'C',2)
DECLARE @temp TABLE
(Article varchar(5))
DECLARE @Cnt1 INT
DECLARE @Cnt2 INT
DECLARE @Check INT
DECLARE @max INT
SET @max =0
SET @Cnt1 = (SELECT Count(Article) FROM @table)
WHILE (@max < @Cnt1)
BEGIN
SET @max = @max +1
SET @Cnt2 = (SELECT [Count] FROM @table WHERE ID =@max)
SET @Check =(SELECT [Count] FROM @table WHERE ID =@max)
WHILE (@Cnt2 > 0)
BEGIN
INSERT INTO @temp
SELECT Article FROM @table WHERE [Count] =@Check
SET @Cnt2 = @Cnt2 -1
END
END
SELECT * FROM @temp