Re: Left Join
| From: | Chris Stinemetz | Date: | Sun, 07 Aug 2011 20:32:49 +0000 |
| Subject: | Re: Left Join | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47957@lists.php.net to get a copy of this message | ||
>On Sun, Aug 7, 2011 at 3:00 PM, Peter Lind <peter.e.lind@gmail.com> wrote:
> >Maybe it's just me, but I can't see anything that would work as
>foreign key for you to join on - neither table seems to have a foreign
> >key
>
Sorry for my ignorance. How do I create the foreign key? The two columns
from each table that have a similar relationship are stores.store_mar and
store_list.id_market. Once the foreign key is build what would be the
correct syntax to achieve my query?
Thank you very much,
Chris
>
>
>