Databases: Apply cardinality estimation problem in SQL Server