Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.

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 pondering the Monastery: (5)
As of 2016-08-25 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (363 votes). Check out past polls.