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