strucnjak79
Programmer
Well strange problem, When I try to join two tables I get no error but I get no results also! I use InnoDB and foreign keys, I dont know is there some problem whit that? MySQL is 4.1.18-max which goes with SUSE Enterprise Server 9!
this statement works (one table):
'SELECT T.id, T.name FROM tools AS T WHERE 1;'
This works fine of course, I know there is no need for 'AS T' I do this just to show you my problem!
I just add one more table, and it returns no result(?!?)
'SELECT T.id, T.name FROM tools AS T, cars AS C WHERE 1;'
Of course second query works on my second mysql server just great, with older version of MySQL (3.something...)
Any idea?
this statement works (one table):
'SELECT T.id, T.name FROM tools AS T WHERE 1;'
This works fine of course, I know there is no need for 'AS T' I do this just to show you my problem!
I just add one more table, and it returns no result(?!?)
'SELECT T.id, T.name FROM tools AS T, cars AS C WHERE 1;'
Of course second query works on my second mysql server just great, with older version of MySQL (3.something...)
Any idea?