Unknown column 'booking' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = booking-cancellation-policy and session_id = "3mpqmtp3ir7e7736dojgvj4oe1"