select friends.* from friends ,(select friendowner,friendother from friends group by friendowner,friendother having count(*)