my$source_sth=$xref->dbc->prepare("select s.source_id from source s, species sp, source_url u where u.source_id = s.source_id and u.species_id = sp.species_id and sp.name like ? and s.name like ?");
my$source_sth=$xref->dbc->prepare("select s.source_id from source s, species sp, source_url u where u.source_id = s.source_id and u.species_id = sp.species_id and sp.name like ? and s.name like ?");
my$dep_source_sth=$xref->dbc->prepare("select distinct s2.source_id from source_url u, source s1, species sp, dependent_source d, source s2 where u.source_id = s1.source_id and u.species_id = sp.species_id and s1.name = d.dependent_name and s2.source_id = d.master_source_id and sp.name like ? and s2.name like ?");