Re: MySQl LEFT JOIN Syntax

2002-11-20 Thread Roger Baklund
* yan zhang > My MySQL LEFT JOIN Syntax as following is wrong? I > cannot get the right result. What result do you get? > SELECT name, email form T1 LEFT JOIN T2 ON > T1.Snum=T2.Bnum Except from the typo form -> FROM, this looks like a valid statement. Do you get an error?

Re: MySQl LEFT JOIN Syntax

2002-11-19 Thread John Ragan
care of the details as you develop the query that you want. i use it, but it seems to be especially beneficial to newcomers. > > Hi there, > My MySQL LEFT JOIN Syntax as following is wrong? I > cannot get the right result. > SELECT name, email form T1 LEFT JOIN T2 ON >

MySQl LEFT JOIN Syntax

2002-11-19 Thread yan zhang
Hi there, My MySQL LEFT JOIN Syntax as following is wrong? I cannot get the right result. SELECT name, email form T1 LEFT JOIN T2 ON T1.Snum=T2.Bnum T1(Snum,name,email,address) T2(Bnum, notes, time) I wnat ot get the result(name, email, notes). Any suggestion, comments