I second what Mahboob is sayin. Best way to achieve this through Universe. Second option is to use a custom sql which I would not advise you to use. So I would say better explain this situation to your client. I am sure he would understan.
Also check out this thread as well hope this will clear your doubt on this issue.