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