is there a way to calculate a field in a table from data in another table in SQL database?
the case is I have two tables in a database both have the same IDs, so I want to fill a column in one table from the a column in the other table.
i tried to write a code but it did not work as I'm still a beginner in coding.
if Charts_Limits['SURVEY_ID_REF'] == Survey_Limit_Polygon['SURVEY_ID_REF']:
Charts_Limits['Survey_Type_Updated'].append(Survey_Limit_Polygon['Survey_Type_Updated'])