hi Malcolm,

thank you very much for your quick reply!

I knew I need to build my custom SQL, my friend (who is a db master :)
just came back and suggests me to do this:

select object_id, count(*) from tagging_object_tag where tag_id in (15,
16) group by object_id having count(*)=2;

pretty cool :)

Regards,

- Eric


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to