diff --git a/new.plot.pl b/new.plot.pl index cb03404..8b9c5d6 100755 --- a/new.plot.pl +++ b/new.plot.pl @@ -4,7 +4,7 @@ use DBI; my $db = DBI->connect("dbi:SQLite:dbname=rivers.db") or die $DBI::errstr; -my $stations_st = $db->prepare("select id, name, watercourse from stations"); +my $stations_st = $db->prepare("select id, name, watercourse from stations where exclude<>'yes'"); $stations_st->execute(); my $stations = $stations_st->fetchall_hashref("id");