Return to Snippet

Revision: 10072
at December 6, 2008 04:56 by ginoplusio


Initial Code
set @N = 0;
SELECT @N := @N +1 AS numero, nome,stipendio,genere FROM persone;

Initial URL

                                

Initial Description

                                

Initial Title
MYSQL add counter in query

Initial Tags
mysql, sql

Initial Language
SQL