I need a query that will return distinct rows, but will not return any rows that have duplicate fruits where one of the rows is 'Approved'. Note: there will always be at most two fruits of the same name.
For example, the ideal result would be:
What I have so far is simply:
SELECT DISTINCT * FROM Food;
But this obviously still returns one of the rows that has the fruit 'Apple'