Unknown column 'holiday' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = holiday-villas and session_id = "l1gun4su92rgm5aiph655fabj7"