2010年8月26日星期四

[fw-db] Difference between JOIN and findDependentRowset

Hello,

I'm just trying to wrap my head around when to use findDependentRowset and
the JOIN statement. My database looks like:

ACCOUNT
- ID
- ADDRESS
- EMAIL
- PHONE

FAMILYMEMBERS
- ID
- ACCOUNT_ID
- NAME
- AGE

So if I need to get the address of a family member, do I use
findDependentRowset or use the JOIN statement? Could someone briefly explain
when I should use either of them, it would help so much!

Regards,
Miles
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Difference-between-JOIN-and-findDependentRowset-tp2340343p2340343.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: