I have a list of values in my PHP code. We could say:
$myList = array("one", "two", "three")
I'd like to select the values of the array that not exists in a table.
I've tried something similar to this:
SELECT *
FROM (my-list-here)
WHERE
NOT EXISTS (
SELECT * FROM my_table WHERE value IN (my-list-here)
)
I don't know how to select values from that array :(