Déclaration de cas à pour une table avec et ou conditions?

J'ai un nom de table

Spend: id value type date total 1 21 ar 3/3/2012 45 2 24 az 3/3/2012 55 3 25 az 3/3/2012 55 4 25 az 3/3/2012 45 5 25 ar 3/3/2012 45 

Condition: APR = (valeur = 25 et type "ar") ou (total = 55)

Comment puis-je écrire l'instruction case dans une instruction select sans utiliser #temp et cte dans une seule instruction select.

La sortie de l'instruction select doit être

 id value type date total APR 1 21 ar 3/3/2012 45 0 2 24 az 3/3/2012 55 1 3 25 az 3/3/2012 55 1 4 25 az 3/3/2012 45 0 5 25 ar 3/3/2012 45 1 

 SELECT IIF((Value = 25 and type like 'ar') or (total=55)', 1, 0) AS APR, * FROM Spend 

Essaye ça

 SELECT id,value,type,date,total,APR, CASE WHEN (value=25 and type like 'ar') OR (total=55) Then 1 ELSE 0 END AS [Apr] FROM Table1 

CAS