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