Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: Right Number DB

by rdfield (Priest)
on Dec 11, 2003 at 11:04 UTC ( #314015=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Right Number DB
in thread Right Number DB

You can limit the results of aggregate function in SQL with the "having" clause:
select column1,column2,count(*) from sometable group by column1,column2 having count(*) > 2

rdfield

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-04-11 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?