function for export table from mysql,to individual(count),individual(print),team(count),team(print)