Help for this page

Select Code to Download


  1. or download this
    respondent_1: 123, 456, 789, 159, 753, ...<br>
    respondent_2: 753, 654, 987, 321, 963, ...<br>
    ..etc...
    
  2. or download this
    count respondents who gave response x and response y
    
  3. or download this
    select count(*) from theTable where (response_id_x=1 and response_id_y
    +=1);
    
  4. or download this
    respondent_id, response_id
    
  5. or download this
    select count(*) from theTable A inner join theTable B on (A.respondent
    + = B.respondent) where (A.response_id = x and B.response_id = y);
    
  6. or download this
    SELECT COUNT(*) FROM table_X JOIN table_y ON (table_x.respondent = tab
    +le_y.respondent)