Say I have the following schema and data:
create table images(
id int not null
);
insert into images values(1), (2), (3), (4), (6), (8);
I want to perform a query like:
select id from images where id not exists in(4, 5, 6);
But this doesn't work. The case above should return 5, since it doesn't exist in the table records.
https://dev.mysql.com/doc/refman/8.0/en/values.html#:~:text=VALUES%20is%20a%20DML%20statement,as%20a%20standalone%20SQL%20statement.
– Jakhongir Mar 15 '22 at 12:07