13 messages in com.mysql.lists.win32Re: Select statement works w/ Access,...
FromSent OnAttachments
Leonard Harris19 Dec 1999 09:52 
Leonard Harris19 Dec 1999 13:32 
Leonard Harris19 Dec 1999 14:43 
Richard Walker19 Dec 1999 15:11 
Darin Vanatta19 Dec 1999 16:55 
Sinisa Milivojevic20 Dec 1999 03:52 
Sinisa Milivojevic20 Dec 1999 03:56 
Leonard Harris20 Dec 1999 04:08 
Leonard Harris20 Dec 1999 04:52 
Sinisa Milivojevic21 Dec 1999 04:47 
William Kerber06 Jan 2000 21:01 
Sinisa Milivojevic07 Jan 2000 05:03 
Jonathan Brauer07 Jan 2000 05:47 
Subject:Re: Select statement works w/ Access, but not MySQL
From:Leonard Harris (len@ibm.net)
Date:12/20/1999 04:08:42 AM
List:com.mysql.lists.win32

Thanks to all who have replied.

I've done some further investigation in the attempt to narrow the problem.

There apparently is no problem w/ case sensitity in either table name column names or column contents. The following works fine.

select LnAMe from VLnteeR where lnaME='WRighT';

There is no problem with using the reserved word "field". The following works fine.

select * from career where field like 'a%';

There is no problem with the following cross-join.

select vlnteer.*, career.field as cfield from vlnteer join career where autovolno=1960;

But when I try to qualify the join with an 'on' clause as follows:

select vlnteer.*, career.field as cfield from vlnteer join career on vlnteer.career=career.code where autovolno=1960;

I get an MyODBC error "parse error near 'on vlnteer.career=career.code where autovolno=1960'"

Can anyone tell me why I'm having the problem with the on clause?

Thanks for any further help you can provide.

Leny Harris