SQL updates with better syntax