I have this table request
with columns
request_id | users_ids | created
I need to get the results order by created
, but get first the ones where user id do not exist inside users_ids
.
Do i use something like FIELD()
and NOT LIKE
?
How do i do this?