Suppose module should care about nodes created by users. Probably this could be another tab for module

SELECT u.uid, u.name FROM users u WHERE NOT EXISTS (SELECT DISTINCT n.uid FROM node n WHERE n.uid = u.uid)
Selects users without content