Error
Undefined offset: 0
Error
Error while accessing the database
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND inactiveroster = 'A'' at line 1
select count(*) from viewroster where categorycode = 'AAJ' AND citycode = 'JUA' AND teamcode = 'MAVI' AND seassonyear = AND inactiveroster = 'A'