less than for date in sql code example Example: date less than in sql SELECT * FROM wp_osd_properties WHERE `listing_expiration` < '2020-08-05'