respondent_1: 123, 456, 789, 159, 753, ...
respondent_2: 753, 654, 987, 321, 963, ...
..etc... #### count respondents who gave response x and response y #### select count(*) from theTable where (response_id_x=1 and response_id_y=1); #### respondent_id, response_id #### select count(*) from theTable A inner join theTable B on (A.respondent = B.respondent) where (A.response_id = x and B.response_id = y); #### SELECT COUNT(*) FROM table_X JOIN table_y ON (table_x.respondent = table_y.respondent)