Lets have the following databases:
1. One database containing a table named db1.“Accounts” with the following columns:
a.UserName
b.Symbol
c.NumberShares
Example:
UserName Symbol NumberShares
John Symb1 10
John Symb2 20
George Symb3 50
2. Another database containing a table named db2.”Symbols” with the following columns:
a.Symbol
b.Price
Example:
Symbol Price
Symb1 123.2
Symb2 100
Symb3 80
I want to build a report containing:
1. All the symbols corresponding to a specified user
2. The value for each symbol (Value = db1.Accounts.NumberShares*db2.Symbols.Price)
Report example:
UserName: John
Symbols Value
Symb1 10*123.2
Symb2 20*100
Any idea will be appreciated.
Best regards,
Doru
1. One database containing a table named db1.“Accounts” with the following columns:
a.UserName
b.Symbol
c.NumberShares
Example:
UserName Symbol NumberShares
John Symb1 10
John Symb2 20
George Symb3 50
2. Another database containing a table named db2.”Symbols” with the following columns:
a.Symbol
b.Price
Example:
Symbol Price
Symb1 123.2
Symb2 100
Symb3 80
I want to build a report containing:
1. All the symbols corresponding to a specified user
2. The value for each symbol (Value = db1.Accounts.NumberShares*db2.Symbols.Price)
Report example:
UserName: John
Symbols Value
Symb1 10*123.2
Symb2 20*100
Any idea will be appreciated.
Best regards,
Doru