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