I have a two tables:
|currency_type|user_id|amount|
|-------------|-------|------|
| aaa| 404| 2000|
| bbb| 404| 300|
| ccc| 22| 444|
|currency_type|user_id|balance|
|-------------|-------|-------|
| aaa| 404| 30|
| xxx| 404| 50|
How can i get sum of both tables (amount + balance) for each currency_type respectively? Example of result for user_id = 404 And performance is matter for me, so faster is better.
|currency_type|user_id| sum|
|-------------|-------|-------|
| aaa| 404| 2030|
| bbb| 404| 300|
| xxx| 404| 50|