Hi,I would like to know if you can use sum(), and combine more the one table.For example, i got two tables, one table contains people names and addresses(id,fname,lname...) , and the other table contains, those people transaction history(id, name_id,date_,amount).The result, i want to get is a table with the peoples names, and the sum or their transaction, with one select.i tried something like this:
select names.id,names.fname,trns.id,sum(amount) where names.id=trns.id group by trns.id
I know this code is wrong, but i still would like to know if it is possible.thanks.shimi.