select COALESCE((SELECT MAX(id) FROM test),0)+1,t.id from test t;
DB2数据库中COALESCE函数怎么使用
猜你喜欢
转载自www.cnblogs.com/wangjianblog/p/12168116.html
今日推荐
周排行