MySQL Forums
Forum List  »  Newbie

Re: Query table A based on Table B
Posted by: Peter Brawley
Date: February 24, 2016 02:33PM

MySQL 4.0 is beyond obsolete. Upgrade.

Is this what you mean?

select allt.seq_num, allt.location, allt.locationid
from t140
join allt on t140ndx=allt.locationid and allt.locationid='t140'
where t140.allocated=1;

Options: ReplyQuote


Subject
Written By
Posted
February 24, 2016 01:32PM
Re: Query table A based on Table B
February 24, 2016 02:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.