With huge data below query is performing slow, though we are cleaning up temporary table periodically.
To improve performance, minor change required is as below between the * *
With huge data below query is performing slow, though we are cleaning up temporary table periodically.
To improve performance, minor change required is as below between the * *