Du kan bruge en sådan forespørgsel til at lave yderligere felt
SELECT concat(packetname,
elt(if(@t=packetname, @n:[email protected]+1, @n:=1),
'','A','B','C','D','E','F','G')) `updated packet`,
id, subid, dollar, @t:=packetname packetname
FROM t
cross join
(SELECT @n:=1, @t:="") n
order by packetname