在项目第一次遇到decode()函数,简单写一下用法. ')), ')), ')), ')), ')), ')), ')) from wg_jzmb jz, wg_jzfz fz where jz.station_code = fz.station_code and jz.STATION_STAT in ('启用', '暂停支付') decode(条件1,值1,值2,值3) 如上格式所示 decode(fz.station_class_f, '自建彩钢板机房', '1', '0') fz.st…