📜  离开在mysql代码示例中做了什么

📅  最后修改于: 2022-03-11 15:05:33.359000             🧑  作者: Mango

代码示例1
-- MySQL

-- Leave statement is used to immediately exit the loop. 
[label]: LOOP
    ...
    -- terminate the loop
    IF condition THEN
        LEAVE [label];
    END IF;
    ...
END LOOP;