I have a mysql Query:-
SELECT @a:=@a+1 serial_number,rule FROM pledges,(SELECT @a:= 0) AS a;
This gives me a serial number along with the rul