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