i am having some problems creating a query of my project. I have created a software that cyclically (every minute) interrogates 3 or 4 devices and saves the collected data (