Dynamic Row Count

Posted on Monday, September 7, 2009 in MySQL

set @i = 0;
select @i:=@i+1 as row_count

Leave a Comment

You must be logged in to post a comment.