Is there a way to do something like this in django?

SELEC COUNT(t1.id), COUNT(t2.id)
FROM Test_testrun t1
LEFT JOIN Test_testrun t2 ON t2.id = t1.id AND t2.passed=True

Sorry for my newbness, I've been searching for awhile now with no
luck.

Eric

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to