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