![]()
Please Login or Register to view this content.
Attached table: I am looking for persons with more than 50 apples or 40 pears, but no orange. If a person does not have all those three fruits listed in Fruit field, then the person should be ignored.
How should I write such kind of S Q L statement to get what I need.
It is fine to return persons only, but it is even better if return result includes apple quantity/pear quantity/orange quantity associated with that person. Orange quantity could be 0 or missing.
Thanks.
Bookmarks