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