# &print_value(0, " AND subcatd NOT LIKE '%23%' AND subcatd NOT LIKE '%24%' AND subcatd NOT LIKE '%25%' AND subcatd NOT LIKE '%26%'");
&print_value(0, " AND (subcatz IS NULL OR subcatz NOT LIKE '%z4%') AND subcatd NOT LIKE '%d23%' AND subcatd NOT LIKE '%d24%' AND subcatd NOT LIKE '%d25%' AND subcatd NOT LIKE '%d26%' AND subcatd NOT LIKE '%d72%' AND subcatd NOT LIKE '%d73%' AND subcatd NOT LIKE '%d74%' AND subcatd NOT LIKE '%d75%' AND subcatd NOT LIKE '%d76%' AND subcatd NOT LIKE '%d77%' AND subcatd NOT LIKE '%d78%' AND subcatd NOT LIKE '%d79%' AND subcatd NOT LIKE '%d80%' AND subcatd NOT LIKE '%d81%' AND subcatd NOT LIKE '%d82%' AND subcatd NOT LIKE '%d83%' AND subcatd NOT LIKE '%d84%' AND subcatd NOT LIKE '%d85%' AND subcatd NOT LIKE '%d86%' AND subcatd NOT LIKE '%d87%' AND subcatd NOT LIKE '%d88%' AND subcatd NOT LIKE '%d88%' AND subcatd NOT LIKE '%d89%'");
}
&print_value(1);
&print_value(2);
&print_value(3);
sub print_value {
my $spots = `$MYSQL $MYSQLOPTS -e "SELECT count(*) as spots FROM $DATABASE.spots WHERE category = $_[0]$_[1];"`;