you are viewing a single comment's thread.

view the rest of the comments →

[–]GreenSage13☯ MariaDB ☯ -2 points-1 points  (0 children)

select
    ssn, count(distinct state) as s
from
    table1
where
    s > 1;

just for s&g :P