Is it possible to use the "Count IF" function in Microsoft Access?
Thursday, October 29th, 2009I am making a database for school and was wondering if it is possible to count someone’s record by pulling out the "Win" and "Lose" out of one field name. If that makes sense to anyone, I really need someone’s help.
Thank you very much
here’s a definite way:
assuming your table is: team, gamedate, result where result is W or L,
select team,
(select count(a.result) from games a where a.team=bigtable.team and result=’W') as wins,
(select count(b.result) from games b where b.team=bigtable.team and result=’L') as losses
from team bigtable
group by team
order by team