Another option ist just to use a decision tree and then convert the PMML to a SQL ruleset. Some other PMML files might also be converted to SQL. The code is not pretty and you might have to tweak it a little bit but is should work. I have used this on occasions when it was not possible to transfer the model in any other way.
Also simple decision trees you can convert to a ruleset you could use to write if then else statements (not pretty I know but at least this would get you a result).
MOJO files also look promising.
Also you could select different ‘flavours’ of SQL.