MySQL Forums
Forum List  »  Perl

Re: Query for unkown column name
Posted by: Rick James
Date: June 23, 2012 11:04PM

select  p.name,
        p.currency,
        x.rate
    FROM  player AS p
    JOIN  exchangerate x ON x.currency = p.currency
    WHERE  p.id = 1
      AND  x.date = CURRENT_DATE(); 

Options: ReplyQuote


Subject
Written By
Posted
Re: Query for unkown column name
June 23, 2012 11:04PM


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.