Home » Other » Training & Certification » retreive records
retreive records [message #261233] Wed, 22 August 2007 03:31 Go to next message
Messages: 4
Registered: August 2007
Junior Member
i need help to learn how to retreive all records that have
the same value and that the value appear at least in 2 record.

for eg the table is customers.
i need all customers that their city is the same and that the city appear at least at to customers

Re: retreive records [message #261235 is a reply to message #261233] Wed, 22 August 2007 03:35 Go to previous message
Michel Cadot
Messages: 65150
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Use "group by", "having", and "count".

Previous Topic: Real time scenarios of performance issues.
Next Topic: Return all Saturday and Sundays between two specified date range
Goto Forum:

Current Time: Mon Aug 21 16:52:05 CDT 2017

Total time taken to generate the page: 0.02062 seconds