select * from tbl_govdocs where procedure_id = 3 and licence_id = 276 and govdoc_nguoinop = order by govdoc_id desc limit 1