企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
**创建** ``` delimiter $$; create procedure test1(in age int) begin if age >= 18 && age < 60 then select "成年人"; elseif age>60 then select "老年人"; else select "未成年人"; end if; end $$; delimiter ; ``` **ifnull** ``` select ifnull('空时候显示第二个参数','默认参数'); ```