Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 browsing the Monastery: (6)
As of 2014-11-24 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls