例1
以上查询语句
1、所有的队伍人员信息: select distinct teamname,realname,users.usertype,clothsize,gender,mobile,address,zipcode,team_users.teamid from users,team_users,team where users.userid = team_users.userid and team.teamid = team_users.teamid and team.matchid = 3ORDER BY team.teamid
2、分组后的队伍人员信息: select distinct teamname,realname,users.usertype,clothsize,gender,mobile,address,zipcode,team_users.teamid from users,team_users,team where users.userid = team_users.userid and team.teamid = team_users.teamid and team.matchid = 3GROUP BY team.teamid