daily pastebin goal


a guest Dec 7th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select * from Doacoes
  2. inner join Projetos on Projetos.IdProjeto = Doacoes.IdProjeto
  3. left join Pedidos on Doacoes.IdDoacao = Pedidos.IdDoacao
  4. left join Recompensas on Pedidos.IdRecompensa = Recompensas.IdRecompensa
  5. where Doacoes.IdUsuario = 2017
  7. from d in banco.Doacoes
  8. join p in banco.Projetos on d.IdProjeto equals p.IdProjeto
  9. join pedi in banco.Pedidos on d.IdDoacao equals pedi.IdDoacao into pedi
  10. join recompensa in banco.Recompensas  on recompensa.IdRecompensa equals
  11. pedi.IdRecompensa into pedi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand