openmrs/openmrs-core — pull request #453 by fouadz (2013-11-16 19:41:32+00:00)
Title: TRUNK-4025: Fixing query issue with MySQL where you cannot update a tabl...

Fixing query issue with MySQL where you cannot update a table and select from the same table in a subquery