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