error item select *, date_format(calendar_date_from, '%e') as from_day, date_format(calendar_date_from, '%c') as from_month, date_format(calendar_date_from, '%Y') as from_year, date_format(calendar_date_to, '%e') as to_day, date_format(calendar_date_to, '%c') as to_month, date_format(calendar_date_to, '%Y') as to_year from web_calendar where is_delete='0' and calendar_date_from<='2025-01-01' and language_display='th' order by calendar_date_from desc,calendar_date_to desc limit 0,7