I have 2 tables and I want to have a report which shows the value in another currency.
Table A (exchange rates)
Date Rate Currency
1-1 1.11 USD
2-1 1.12 USD
3-1 1.13 USD...
I have table A with my account balance and i would like to use this data to insert them into my new table B. In this table I would like to see my account balance per day.
Is this possible with Oracle sql? Is there a insert statement or a function which i can use?
I would be very happy if...
Who can help me out?
I have a table with a balance in USD with 2 records
Table 1
Date. Balance
1-Jan-2018 100 USD
5-Jan-2018 200 USD
I would like to know how i can create a new table based on Table 1
The new table should have the following records
Date. Balance
1-Jan-2018...
Hi PHV,
Sorry that I have confused you. For me it was not so clear where to post my question.
If have run your query but I without result. Is it because of a SQL Dialect?
regards
When using MS-Acces this works fine:
SELECT [Tabel A].SECID, [Tabel A].SECSYMBOL, Count([Tabel A_1].SECID) AS ColNum
FROM [Tabel A] INNER JOIN [Tabel A] AS [Tabel A_1] ON [Tabel A].SECID = [Tabel A_1].SECID
WHERE ((([Tabel A_1].SECSYMBOL)<=[Tabel A]![SECSYMBOL]))
GROUP BY [Tabel A].SECID...
Can anyone help me with this SQL Query?
I have two tabels
TABEL A
SECID SECSYMBOL
US00111 AAA
US00222 BBB
US00333 CCC
US00333 DDD
US00333 EEE
US00333 FFF
TABEL B
SECSYMBOL SECNUM
AAA 1234
BBB 1235
CCC 1236
DDD 1237
EEE...
Hi Dhookom,
After some try and error from my side it works perfectly
SECID SEC(1) SEC(2) SEC(3) SEC(4)
US00111 1234
US00222 1235
US00333 1236 1237 1238 1239
But what if I would like to convert this into PLSQL?
Will this query work?
Can anyone help me with this SQL Query?
I have two tabels
TABEL A
SECID SECSYMBOL
US00111 AAA
US00222 BBB
US00333 CCC
US00333 DDD
US00333 EEE
US00333 FFF
TABEL B
SECSYMBOL SECNUM
AAA 1234
BBB 1235
CCC 1236
DDD 1237
EEE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.