SQL

SQL Server IIF() Function

Return "YES" if the condition is TRUE, or "NO" if the condition is FALSE: