mysql case when then else end 的写法
select t.colum1,t.colum2
(case
when
t.colum1 = ''
then
''
t.when colum2 = ''
then
''
else
''
end
) as colum3
from table t
select t.colum1,t.colum2
(case
when
t.colum1 = ''
then
''
t.when colum2 = ''
then
''
else
''
end
) as colum3
from table t