relational data working