SQLite3 and "cascade" SELECTion

Posted by SK9 on Stack Overflow See other posts from Stack Overflow or by SK9
Published on 2011-01-04T15:35:07Z Indexed on 2011/01/04 15:54 UTC
Read the original article Hit count: 128

Filed under:

I have a parent table and a child table related to the parent table by some REFERENCE.

Suppose I exec a SELECT statement on the child and that it returns the at least one result. Can I arrange for my search to automatically yield all the content of all related parents with this child too?

Or must I always take the reference from the child and put this in a second SELECT statement and exec this myself?

© Stack Overflow or respective owner

Related posts about sqlite3