Posts by Alexandre Ruiz • 9 points
2 posts
-
0
votes2
answers40
viewsA: Line numbering
I was able to get the solution using variables. Maybe not the most elegant solution, but it met what I needed with a very good performance, because my list has almost 1 million lines. SET @y = 0;…
mysqlanswered Alexandre Ruiz 9 -
0
votes2
answers40
viewsQ: Line numbering
Suppose the following table: id -- ano 1 -- 2014 2 -- 2014 3 -- 2014 4 -- 2015 5 -- 2015 6 -- 2016 7 -- 2016 8 -- 2016 9 -- 2016 I would like to get a list with a sequential count/numbering of rows…
mysqlasked Alexandre Ruiz 9