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