Help for this page

Select Code to Download


  1. or download this
    SELECT state, 
    sum(IF(month(identifier)=1,1,0)) as 'Jan',
    ...
    from contacts
    WHERE state != ''
    GROUP BY state;
    
  2. or download this
    +----------+-----+-----+----+-------+
    | state    | Jan | Feb | Mar| Total |
    ...
    | TX       |  25 | 20  | 22 |    67 |
    +----------+-----+-----+----+-------+
    
  3. or download this
     _  _ _  _  
    (_|| | |(_|><
     _|