SQL筆記

case when 填充null值 case when t1.operstatus is null then 0 else operstatus end as operstatus_new 交易時間與註冊時間差(時間戳) select t1.orderid, unix_timestamp(t1.transtime,"yyyy-MM-dd HH:mm:ss") - unix_timestamp(t2
相關文章
相關標籤/搜索