keepfoxing
Programmer
i have a table with two columns with gender and total field.
what i want is the table to display two records which is male and female with
the total number of each.
or is it better to save it to another table?
here is the data input..
name | gender
--------------
doe | male
john | male
eva | female
and this is what i want to display..
gender | total
---------------
male | 2
-------|-------
female | 1
thanks in advance..
what i want is the table to display two records which is male and female with
the total number of each.
or is it better to save it to another table?
here is the data input..
name | gender
--------------
doe | male
john | male
eva | female
and this is what i want to display..
gender | total
---------------
male | 2
-------|-------
female | 1
thanks in advance..