Advanced where clause – annonymous function & like

Raw SQL:

Compare Date:

Get not available coupons

Result