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