Click here to Skip to main content
15,912,072 members

Comments by MohammedSabry (Top 23 by date)

MohammedSabry 1-Mar-11 19:07pm View    
it`s works but it didn`t give the right values !!
MohammedSabry 14-Feb-11 9:08am View    
it didn`t
MohammedSabry 13-Feb-11 21:10pm View    
TABLE DISTRICTS :
Districts.id, Districts.name

TABLE : Interview_Schedule
Interview_Schedule.app_id, Interview_Schedule.interview_district, Interview_Schedule.interview_result

RELATION:
Districts INNER JOIN
Interview_Schedule ON Districts.id = Interview_Schedule.interview_district

Interview_Schedule.interview_result value can be 0 or 1 or NULL
i want the output from this column to be three columns :
1st : count of (0)
2nd : count of (1)
3ed : count of NULL
MohammedSabry 13-Feb-11 20:58pm View    
can you write it ?
MohammedSabry 13-Feb-11 20:50pm View    
so if you please what`s the error in the first statement ??