Link to home
Start Free TrialLog in
Avatar of LeighWardle
LeighWardleFlag for Australia

asked on

MS Access 2016 - SQL for Update Query that updates one column with the value of another column

Hi Experts,

I would like to have an Update query that updates one column with the value of another column.
I'm don't have a clue how to do it.

Here are the details of my Select query:

My database is attached:  LOADS7.mdb.

Here's the Design View:

User generated image
Here's the SQL:

SELECT TrafficLoadDistributionMetaData.ID, TrafficLoadDistributionMetaData.[ESA per HV], [TrafficLoadDistributionMetaData-ESA per HV].[ESA per HV]
FROM [TrafficLoadDistributionMetaData-ESA per HV] INNER JOIN TrafficLoadDistributionMetaData ON [TrafficLoadDistributionMetaData-ESA per HV].ID = TrafficLoadDistributionMetaData.ID;

Open in new window


Here are the results of the Select Query:

User generated image
In summary, looking at the results above, I want the numbers in the right hand column to be copied to the blank column.

Regards,
Leigh
ASKER CERTIFIED SOLUTION
Avatar of Ares Kurklu
Ares Kurklu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeighWardle

ASKER

Thanks, Ares.

The 2nd version works for me.

Cheers,
Leigh