1.SELECT DECODE(t1.user_id,'1002','2012','1003','2013','1004','2013');
2.SELECT查询语句中不能用IF ELSE ,可以用CASE WHEN;
posted on 2012-09-11 17:28 wean 阅读(147) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 wean Powered by .NET 9.0 on Kubernetes