I've a db with this info (example)
EMAIL COMING
[email protected] google
[email protected] google
[email protected] yahoo
[email protected] google
[email protected] yahoo
[email protected] google
I would extract ONLY value that are from "google" for example and not from "yahoo". So, in my SQL, i would read only
[email protected]
and
[email protected]
because the other are FROM google && yahoo.
So, in code, a thing like
SELECT * FROM mytable WHERE COMING = 'google' AND COMING != 'yahoo'
but obviously my code is wrong.
Could you help me? Thank you :)