Explained: The MySQL query that powers Correlated
coding.pressbin.com
coding.pressbin.com
However, in Correlated's case, it's not really an issue, because SQL injection is only a problem when $poll_id is a user input. But this particular query is only run by a user-inaccessible script.
MySQL and Postgres are fine at OLTP but when you get into analytics and reporting, they really show their lack of features.
I didn't sign up though because I wanted to login with Twitter. I don't like creating a million accounts and connecting to twitter would allow you a social promotion bonus.