LOOPING IN MySQL
CASE Statement in MySQL
IF Statement in MySQL