INSERT INTO "LocationAccountMap" ("LocationId", "AccountId")
SELECT (SELECT "LocationId" FROM "Location" WHERE "Name" = 'Uppal'), "AccountId" FROM "Account";

Update "Admission" SET "LocationId" = (SELECT "LocationId" from "Location" where "Name" = 'Uppal');

