NYCPHP Meetup

NYPHP.org

[nycphp-talk] Ignoring records with duplicate keys

Chris Snyder csnyder at chxo.com
Wed May 26 22:01:06 EDT 2004


You have a table with id, name, and title fields.

You want to create a query that selects * where title is distinct -- 
that is, if two or more records have the same title, only the fields 
from the first are be returned.

Should be easy, right?



More information about the talk mailing list