2015-02-27 Converting SELECT DISTINCT ON queries from Postgresql to MySQL Converting SELECT DISTINCT ON queries from Postgresql to MySQL http://stackoverflow.com/questions/17673457/converting-select-distinct-on-queries-from-postgresql-to-mysql