SQL Select failed - please check syntax/table names for select count(*) from teamarchive a where a.season=2020 group by a.season