sql case when CAST 用法相当于java if判断类似于三元表达式. 类似于java if if(a==b){ c=1}else{c=2}. case when CAST a==b then c=1 ELSE c=2 end as longitude.
確定! 回上一頁