>From what I've read in the docs, this should work, yes?
>
>select mcorder.ord_id, project.address, mcuser.last_name
>from
>   project inner join
>     (mcuser inner join
>        mcorder
>      on mcuser.usr_id = mcorder.usr_id)
>   on project.prj_id = mcorder.prj_id;

No sir. You've separated the INNER JOIN keyword from it's ON 
condition with a nested join. I've never been able to get this to 
work in any version of MySQL. Reverse the order.

     (mcuser INNER JOIN
        mcorder
      ON mcuser.usr_id = mcorder.usr_id)
   INNER JOIN project
   ON project.prj_id = mcorder.prj_id;

Bob Hall

Know thyself? Absurd direction!
Bubbles bear no introspection.     -Khushhal Khan Khatak

---------------------------------------------------------------------
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