I have another question on this topic. The SQL query first returns the correct data for a machine. How do I have to change the query if I now add a column with e.g. MachineID to the table? This way I have all machine states in one table.
Many thanks for your support!