Hi all,
How can I handle currency?
I download a currency table in SEK that look like:
Date Currency Currency_Rate
1 DKK 1,2
1 EUR 7,8
From the above table I would like to create:
Date Currency1 Currency2 Currency_Rate
1 SEK DKK 1,2
1 SEK EUR 7,8
1 DKK SEK 0,8
1 DKK EUR 6,5
1 EUR SEK 0,12
1 EUR DKK 0,15
How can this be done with SQL-syntax?
/Kent J-
How can I handle currency?
I download a currency table in SEK that look like:
Date Currency Currency_Rate
1 DKK 1,2
1 EUR 7,8
From the above table I would like to create:
Date Currency1 Currency2 Currency_Rate
1 SEK DKK 1,2
1 SEK EUR 7,8
1 DKK SEK 0,8
1 DKK EUR 6,5
1 EUR SEK 0,12
1 EUR DKK 0,15
How can this be done with SQL-syntax?
/Kent J-