Hi, I have a table like this:
'statistic' table:
country | gender|
------------------
usa | male |
uk | female |
usa | male |
usa |female |
china | male |
china | female |
how can i make a query that have output like this:
country | male | female |
--------------------------
usa | 2 | 1 |
uk | 0 | 1 |
china | 1 | 1 |
thanks in advance !
sanders