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