Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > finding firstna...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 15867 of 17437
Post > Topic >>

finding firstname + lastname groups

by blackwaterdev@[EMAIL PROTECTED] ("blackwater dev") Jun 19, 2008 at 03:38 PM

------=_Part_11398_2151858.1213904308568
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have to find the same firstname+ lastname combo in my db and see which
name appears the most so I basically need to do the following:

select name, count(name) from people group by name having count(name)>1

The problem is name is not one column but made up of firstname,
lastname...how do I do this?

Thanks!

------=_Part_11398_2151858.1213904308568
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have to find the same firstname+ lastname combo in my db and see which
name appears the most so I basically need to do the
following:<br><br>select name, count(name) from people group by name
having count(name)&gt;1<br><br>
The problem is name is not one column but made up of firstname,
lastname...how do I do this?<br><br>Thanks!<br>

------=_Part_11398_2151858.1213904308568--
 




 3 Posts in Topic:
finding firstname + lastname groups
blackwaterdev@[EMAIL PROT  2008-06-19 15:38:28 
Re: finding firstname + lastname groups
scott.marlowe@[EMAIL PROT  2008-06-19 14:39:28 
Re: finding firstname + lastname groups
sam@[EMAIL PROTECTED] (S  2008-06-19 22:14:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:17:55 CST 2008.