ashben
Moderator
I have this SQL query :
select A.Name, B.Age from A inner join B on A.ID=B.ID
.. on two MySQL DB tables namely A and B. But it results in a "Warning: Supplied argument is not a valid MySQL result resource in ... " message under PHP. I'm running mySQL 3.23 and yes, both the join condition parameters (A.ID & B.ID) are of the same data type (i.e. MediumInt(11)-Unsigned).
What's wrong with the above SQL query syntax or the join itself.
Any help is appreciated!
select A.Name, B.Age from A inner join B on A.ID=B.ID
.. on two MySQL DB tables namely A and B. But it results in a "Warning: Supplied argument is not a valid MySQL result resource in ... " message under PHP. I'm running mySQL 3.23 and yes, both the join condition parameters (A.ID & B.ID) are of the same data type (i.e. MediumInt(11)-Unsigned).
What's wrong with the above SQL query syntax or the join itself.
Any help is appreciated!