nnichols хороший чувееее!
РЕШЕНИЕ:
тот же запрос ваш, только изменение:
GROUP BY
n.Modulo,
p.Nome,
n.Administrador
для
GROUP BY
n.Modulo,
n.Administrador
SELECT
n.Modulo,
p.Nome AS Tipo,
n.Administrador AS Nome,
SUM(IF(n.Cod_Permissao = 1, 1, 0)) AS Ler,
SUM(IF(n.Cod_Permissao = 2, 2, 0)) AS Atualizar,
SUM(IF(n.Cod_Permissao = 3, 3, 0)) AS Excluir,
SUM(IF(n.Cod_Permissao = 4, 4, 0)) AS Inserir
FROM niveis AS n
INNER JOIN modulos AS m
ON n.Modulo = m.Nome
INNER JOIN permissoes AS p
ON n.Cod_Permissao = p.Codigo
WHERE n.Administrador = 'kin'
GROUP BY
n.Modulo,
n.Administrador