SELECT k.nazwa, d.czasdostawy, d.towar FROM KONTRAHENCI k JOIN DOSTAWCYTOWARU d ON k.id=d.kontrahenci_id WHERE d.towar=2;