Fixed sql syntax in example