Może ten kod ci pomoże select Friend_E_Mail From Friends WHERE '[email protected]' NOT IN(Friend_E_Mail, My_E_Mail)