Accessing the Oracle Database Managed by Form Runner with SQL select document_id, extractValue(xml, '/book/details/author') author, extractValue(xml, '/book/details/title') title from orbeon_form_data where (document_id, app, form, last_modified) in ( select document_id, app, form, max(last_modified) from orbeon_form_data where app = 'orbeon' and form = 'bookcast' and deleted = 'N' group by document_id, app, form ) order by author, title Document ID Author Title