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