Getting error for filtering current_date in Postgresql
I have 2 queries in Postgresql. Both Queries are used to extract same information. 1st Query---- SELECT "pld.PlanDate" FROM salesdespatch.sld_cube_salesdespatchdetailshop WHERE "pld.PlanDate" Between '2023-04-01' AND current_date; 2nd Query---- SELECT "pld.PlanDate" FROM salesdespatch.sld_cube_salesdespatchdetailshop WHERE "pld.PlanDate" Between '2023-04-01' AND '2023-04-11'; When I…