in reply to Need to Improve Performance
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.
|
|---|