George,

Wednesday, January 30, 2002, 7:08:53 PM, you wrote:
GME> Hello.

GME> If anyone has a quick moment, I would appreciate some suggestions with
GME> regards to the following select statement:

GME> SELECT widget_src FROM widgets WHERE items.foo='abc123' and
GME> item_details.item_type='I' and items.item_detail_id=foo.item_detail_id;

GME> Upon execution, I'm getting "ERROR 1109: Unknown table 'items' in where
GME> clause".  However, "widgets", "items" and "item_details" all exist, in
GME> the same database.

     SELECT widgets.widget_src
          FROM widgets, items, item_details, foo
          WHERE items.foo='abc123'
            AND item_details.item_type='I'
            AND items.item_detail_id=foo.item_detail_id;




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to