Compare price to programming with sql