Thread:Extension talk:Contributions/sql error/reply

SELECT MAX( rev_id ) AS rev_id, rev_parent_id, rev_len FROM `revision` WHERE rev_page = '2' AND rev_user = '1'