Eduardo
unread,May 8, 2012, 8:20:03 AM5/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlal...@googlegroups.com
Hi,
Is there any function in sqlalchemy that filters out duplicates?
For example the following rows satisfy a query:
1. (john, 23 , lpgh )
2.(steve , 35 , dbr )
3. (john ,76, qwe)
4. (mark, 35, epz)
I would like that my query results contain only one row with john (either 1 or 3 which one is not important) or with 35 (either 2 or 4).
I tried with distinct(col) but it could not do the work.
Thanks