1、select count(*) from teacher;2、select count(*) from teacher group by tname;3、select count(*) from teacher,election where teacher.tid = election.tid and election.year = '2005';