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