i have a table t1 which contains from date and to date and had an other table t2 which contains particular dates, now i want to check t2 dates are in between the t1 table for each record if there are present i need to subtract them from t1 and i need the remaining days count which are between from date and to date
i need a query for this can any one help with this.....