2013-04-25 44 views

回答

4
select name, case when name like '%flow%' then 1 else 0 end as bool1 
from table1 
where... 
+0

這基本上適用於任何「條件」欄值 – valverij 2013-04-25 14:56:43