inner join - Translate Value to Name SQL -


i have 2 tables

currency description

spot rates

instead of currency1id , currency2id, want show currencyshortcut make better

in case managed join 1 of fields :

enter image description here

please me convert both of them values currency table

thanks !!

i think need this

select c1.currencyshortcut [currency1], c2.currencyshortcut [currency2]      /*, other columns need*/ spot s     join currencies c1 on s.currencyid = c1.currencyid     join currencies c2 on s.currencyid = c2.currencyid 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -