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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -