I haven't worked with sql for a while but are you sure this is correct?
select max(count(pan_id)) from seg_dtl_panelist where seg_id ='1' group by seg_dtl_id, seg_idThis seens wrong: max(count(pan_id), as count will return 1 value.
In reply to Re: Need to Improve Performance
by Anonymous Monk
in thread Need to Improve Performance
by Naveen_learn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |