final commit - with sql