If statement allows you to execute a set of SQL statements based on condition. If certain condition returns true then statement executes, otherwise not.
DELIMITER $$ CREATE PROCEDURE MyifCond() BEGIN DECLARE x INT; SET x = 1; SET y = 1; WHILE x <= 10 DO SET x = x + 1; IF x > 5 THEN SET y = y + 1; END IF; END WHILE; SELECT y; END$$ DELIMITER;
For any types of queries, you can contact us on info[at]namasteui.com.
The 2024 Indian General Elections are taking place now, with every individual in the country…
Introduction: In order to stay clean, car care all in the world is not only…
Oppo and Vivo are two smartphone makers in India that manufacture quality mobile phones at…
Educational technology has been very helpful in the era of ever-advancing technology. It opens millions…
Have you ever thought of a world where asking the Internet for information feels like…
We've gotten so used to seeing men streetwear joggers, ripped jeans, and sleeveless shirts. Hair…