Home » Other » Training & Certification » retreive records
retreive records [message #261233] Wed, 22 August 2007 03:31 Go to next message
eur6lts
Messages: 4
Registered: August 2007
Junior Member
hi,
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

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

Regards
Michel
Previous Topic: Real time scenarios of performance issues.
Next Topic: Oracle Apps DBA Course
Goto Forum:
  


Current Time: Fri Dec 09 21:34:37 CST 2016

Total time taken to generate the page: 0.11677 seconds