Let s say I have three values in PHP: "a", "b", "c". Doesn t matter whether in an array or comma separated string.
There is a table in database:
id | value
1 | a
2 | b
3 | d
My purpose is to find the values that are in php array but not in database table.
The given example will give "c".
Can I do it with only one query?
<>>>>>
在对阵列(diff)的答复中收到一些很好的建议,尽管在我看来,非行的表确实是巨大的,阵列中的项目不超过5-6个。 因此,我想最好回答5-6个问题。