Hi everyone

I need have a row counter in a query but I'm not sure if there is any way to
do this.  In essence all I need is get a result like this:

Counter  column-A  column-B 
  1               A-1          B-1
  2               A-2          B-2
   :                 :             :
   :                 :             :

where A, B are real columns and Counter  in just a consecutive for each row
in the query result.

Thanks
 Javier

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to