DB Query_DML

  • Select Query and where condition

select * from messages where created_at > CURRENT_TIMESTAMP - INTERVAL '10' DAY

and message like '%\"employee_id\":\"S5676\"%'

order by id desc limit 2;