|
|||||||||||
|
Re: bookmarks and keywords
From: Sebastian Mendel <lists(at)sebastianmendel.de>
Date: Tue Sep 25 2007 - 02:29:27 EDT
> SELECT parent.bookmark_url as pbu, parent.bookmark_keyword as pbk no, you didn't, you just switched the names ... :-/ but from his original point of view the row with the given URL was his parent and he wants to have all childs (identified by the same keywords) - now you have just switched the names - making the childs his parents and the parents his childs - this is confusing just tell him: first the table which 'filters': FROM parent WHERE ... than the table he wants to select from: SELECT ... FROM child and now join them on the identifying field:
SELECT child....
-- Sebastian -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=lists@pantek.comReceived on Tue Sep 25 02:27:53 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:11:58 EDT |
||||||||||
|
|||||||||||