I tried this code with parse error at line 2...
BEGIN
SELECT @count
SET @count= 1;
WHILE @count < 20 DO
SELECT COUNT (*) from `meteo`.`table 3` where `Temp Out`>20+@count
SET @count = @count + 1;
END WHILE;
END
ALso I tried this with the same error result...
BEGIN
DECLARE @count INT DEFAULT 1;
WHILE @count > 20 DO
SELECT COUNT(*) from `meteo`.`table 3` where `Temp Out`>20+@count
SET @count = @count + 1;
END WHILE;
END
What is my fault?