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