Unknown column 'public' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = public and session_id = "b0d1a28d852e0c17a1d08fbdf7fc4045"