This is makes more sense because it causes a SQL developer
to group the joined tables in a logical manner.

----- Original Message -----
From: wang shuming <[EMAIL PROTECTED]>
To: mysql@lists.mysql.com
Sent: Friday, November 3, 2006 8:04:20 PM GMT-0500 US/Eastern
Subject: left join , Unknown column 't1.itemid' in 'on clause'

Hi,
   select * from t1,t2
   left join t3 on t3.itemid=t1.itemid

   mysql4.1 works, but mysql5.0 shows  Unknown column 't1.itemid' in 'on clause'

  If change into
   select * from t2,t1
   left join t3 on t3.itemid=t1.itemid

   mysql5.0 works

Shuming Wang


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to