does anyone know if sqlite supports the sql function "if" in the select..
for example
select if( length( a ) > 4 , a , ' ') as b
from foo
which would return a if the length was over 4 chars long.. or else it would return ' ' as b
if it doe support a condition in the select what is the syntax is should be using?
i have checked http://sqlite.org/lang%5Fcorefunc.html but i cant see it.