worked with sql