Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

auto increment column in mysql query results

SET @auto_increment=0;
SELECT @auto_increment := @auto_increment+1 AS `No`;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #auto #increment #column #mysql #query #results
ADD COMMENT
Topic
Name
1+7 =