PLANS, SQL_CALC