I want to exclude the records that were not part my value range specified in case when statement – SQL/MySQL
I am trying to set season ranges for specific dates coming from my DTBL_SCHOOL_DATES table. Below is my logic which works based on the year and its region to set the season per a given range. CASE WHEN RTRIM(dtbl_school_dates.local_school_year) =…