Hi guys, I need help here again. I have two tables here that contain as many records in tens of thousands. Now we have one main table, the scheme of which is as follows:
ID | Location Name | Label | Description | Longitude | Latitude
And we have another table with:
ID | Location Name | Longitude | Latitude
The problem is that the longitude and latitude entries in the first table are mostly incorrect :( - the correct information is in the second table. Assuming the identifiers correspond to the same locations in both tables, how can I fix a query that updates the longitude and latitude field of each row in the first table based on the entries in the second table where the identifiers are the same ... any ideas here - I'm based on MySQL ...
EDIT =====
Note. Both tables have respectively 20,000 and 50,000 rows.
source share