Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. select u.nome, u.id as id_user, c.*
  2. from usuarios u
  3. left join comissao c on c.id_usuario=u.id
  4. where (c.mes='".dias($dia,'mes-anotoanomes')."' or c.mes IS NULL) and id_grupo='$resultg[id]' and acesso='1'
  5. order by u.nome asc;
Add Comment
Please, Sign In to add comment