Hello
Im trying to create this Excel formula in SQL. How can I do this in SQL.
Data Sources
Contract.StatusCode
License.LicenseExpiration
Education.ProductTraining
Contract.StatusEffective
=IF([@[STATUS CODE]]<>"COMPLETE", "NOT ELIGIBLE TO SELL",IF([@[LICENSE EXPIRATION]]<=TODAY(),"NOT ELIGIBLE TO SELL",IF([STATUS EFFECTIVE]>=[PRODUCT TRAINING],[STATUS EFFECTIVE],[PRODUCT TRAINING])))