With this query you get a list of devices and topuser (primary user) on device [crayon-6793f81e1f3eb010108704/]