Home » RDBMS Server » Server Administration » How to use count function to count insurance policy which more than one person hold?
How to use count function to count insurance policy which more than one person hold? [message #373828] Mon, 14 May 2001 20:30 Go to next message
Steve
Messages: 190
Registered: September 1999
Senior Member
Hi,All:
How can I use count function to count insurance policy
which more than one person hold? (It means if more than
one person hold this policy, then I only need count this policy once)
Thanks
Steve
Re: How to use count function to count insurance policy which more than one person hold? [message #373832 is a reply to message #373828] Mon, 14 May 2001 21:03 Go to previous message
R Venkataraman
Messages: 2
Registered: May 2001
Junior Member
select insurance_no,count(*) from insurance_details group by insurance_no having count(*) > 1;
Previous Topic: How to use count function to count insurance policy which more than one person hold?
Next Topic: alter column width
Goto Forum:
  


Current Time: Mon Jul 01 03:48:20 CDT 2024