SELECT *, @count:= @count+1 as count
FROM , (
SELECT @count:=0
) any_alias_here_is_fine

Leave a Reply

Your email address will not be published. Required fields are marked *