On Friday 28 February 2003 18:07, Juan Carlos wrote: > I want to make a Simple Select using MySQL that show me number of rows, or > make a count > and show something like this: > > > record# ClientCode ClientName > 1 1020 John > 2 1032 Mary > 3 1043 Richard > . . . > . . . > . . .
You can do something like that: SELECT @a:=0; SELECT @a:[EMAIL PROTECTED], ... FROM ... -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php