Original Table Setup:
Table Name: property_details
Attribute: property_id, floor_area
Now, a new attribute is added named: total_area.
There are already records on property_details table with corresponding id and wanted to copy floor_area data to total_area. (Will do something floor_area later)
For clarification, if this is in excel I will copy the value of A1 to B2 on the same row. Pretty simple to demonstrate but can’t figured out using sql.
Is this possible working on the same table?
Just run an
UPDATEstatement wherein the value offloor_areais copied tototal_area, example,