[CentralOH] Question > Django > Querys > comparing fields from same record.
John Cassidy
jocassid at gmail.com
Tue Sep 15 23:44:54 CEST 2015
I'm trying to perform a query like this:
SELECT *
FROM MyTable
WHERE MyTable.foo = MyTable.bar
Is there a way to create a where clause like this using the filter method?
If not how could this be done?
-John Cassidy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20150915/3efc4e2c/attachment.html>
More information about the CentralOH
mailing list