SELECT defaultusers.name FROM defaultusers LEFT JOIN ON sessions GROUP BY defaultusers.id LIMIT 0,10