Changed Sql provide for custom values