Tuesday, August 23, 2011

Subquery or something else?

Hello everyone,
I've been trying to work this out for the last couple of hours but it
isn't working.
I'm building an achievement system. So i have two tables:

Users_Badges and Badges (and ofc much more but they don't matter)

What i want is to make a find condition which only selects the badges
that don't
exist in the Users_Badges table.

I hope you all can help me.

Thanks in advance,

Dwayne

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: