Hi,
I'm again in the troubles
PHP Code:
SELECT A.domain_idU.birthday AS fieldDATEaccess_start_datetime ) AS DATECOUNTA.id ) AS value
FROM stats_access A
JOIN users U ON U
.id A.fb_id
GROUP BY DATE
A.access_start_datetime ) , U.birthdayA.domain_id 
with this query I get the number of the users group by birthday
PHP Code:
SELECT A.domain_idU.gender as fieldDATE(access_start_datetime) as dateCOUNT(A.id) as value
FROM  stats_access A
JOIN users U ON U
.id A.fb_id
GROUP BY DATE
(A.access_start_datetime), U.genderA.domain_id
with this query I get the number of the users group by gender

but how is the query to get the number group by age range and gender
like
17-25 (male 10,female 5)
25-35 (male 5,female 10)
and so on

A big thanks in advance