[Mysql select IF in if set SUB Query.] maxcom 20:12 Add Comment Edit CREATE FUNCTION `nextval` (`seq_name` varchar(100)) RETURNS bigint(20) NOT DETERMINISTIC BEGIN DECLARE cur_val bigint(20); SELECT... Read More