how to create while loop in mysql?

Date: Mon-Mar-19-2012-
Response
0
here one example

DECLARE @anystr as VARCHAR

WHILE @anystr ='ABC'

  BEGIN

   SELECT * FROM tblname

  END
[d] By: Guest
Date: Mon-Mar-19-2012
Response
What is 1 + 100

Just Updated::