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