SELECT COALESCE(zdjecie, imie, 'przyjaciel') AS profil
  FROM uczestnicy;