Saikandimalla, I am not doing your job.
Did you try to understand what this SQL does?
If it does not meet your needs try to adopt it to your requirements.
↧