select
dt.client_id,
dt.user_id,,
CAST(DATE(dt.created_on) AS TEXT) as created_on,
dt.created_by,
dt.last_update_on,
dt.last_update_by
from
draft dt
where
dt.user_id = 'ABC'
and CAST(DATE(dt.created_on) AS TEXT) LIKE LOWER('%2020-10-30%')
here created_on is datetime column which need to formatted first into YYYY-MM-DD format then need to convert into text