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