All pastes #343739 Raw Edit

Gopneg

public text v1 · immutable
·published 2007-02-07 07:15 UTC
rendered paste body
select distinct p.name
from pass_in_trip t, passenger p
where p.id_psg = t.id_psg
group by p.name, t.place    
having count(t.place) > 1