Can not execute query select count(*) tot from escorts WHERE esc_status='a' AND esc_phone1 IS NOT NULL AND TRIM(esc_phone1) <> '' ORDER BY esc_id DESC