Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select u.nome, u.id as id_user, c.*
- from usuarios u
- left join comissao c on c.id_usuario=u.id
- where (c.mes='".dias($dia,'mes-anotoanomes')."' or c.mes IS NULL) and id_grupo='$resultg[id]' and acesso='1'
- order by u.nome asc;
Add Comment
Please, Sign In to add comment