We believe this is a general question related to your specific DB schema and SQL know-how and not related to our UI for WPF. That's why we encourage you to post this question to other channels, for example stackoverflow.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.