Jeg gætter på, at der er et problem med anførselstegn i forespørgslen:Prøv nedenfor:
SELECT
COUNT(CASE WHEN booking_creationdate LIKE '2020-01-31%' THEN 1 END) AS "2020-01-31",
COUNT(CASE WHEN booking_creationdate LIKE '2020-02-05%' THEN 1 END) AS "2020-02-05"
FROM bookingstable AND booking_location = 4