select DISTINCT `user` from `tiki_history` where `pageName`=? order by `version` desc
Values:
0
Newsletter-Fall2009
Message:
Expression #1 of ORDER BY clause is not in SELECT list, references column 'h2ogeoc_tw2.tiki_history.version' which is not in SELECT list; this is incompatible with DISTINCT
Built query was probably:
select DISTINCT `user` from `tiki_history` where `pageName`='Newsletter-Fall2009' order by `version` desc