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