Do you have a solution for it too ?
Situation (if you didn't know yet) is as follows :
table users :
user_id and cash
table portfolio
user_id, sharecode, number_of_shares
table shares
sharecode, value
I'd like to count the total value of ones portfolio... (cash + total amount of sharevalue). is it possible with one query or not ?