I have two tables like:
ID | TRAFFIC fd56756 | 4398 645effa | 567899 894fac6 | 611900 894fac6 | 567899 and
USER | ID | TRAFFIC andrew | fd56756 | 0 peter | 645effa | 0 john | 894fac6 | 0 I need to get SUM ("TRAFFIC") from first table AND set column traffic to the second table where first table ID = second table ID. ID's from first table are not unique, and can be duplicated.
How can I do this?
{}.trafficin your second table. Please clarify. Also, columns and values in the second table seem to be switched.