New SQL on producers to select all devices, order, etc