Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Need to Improve Performance

by Anonymous Monk
on Jan 03, 2014 at 08:39 UTC ( #1069105=note: print w/ replies, xml ) Need Help??


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_id

This seens wrong: max(count(pan_id), as count will return 1 value.


Comment on Re: Need to Improve Performance
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-10-01 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (389 votes), past polls