Posts by Marcus Rocha • 46 points
2 posts
- 
		2 votes2 answers84 viewsA: Random Doubt and Periodic Activities in GolangSee if this example I made can help. https://play.golang.org/p/pVlOFcmCnhO I left a Sleep just so the program doesn’t run endlessly, but Voce can use something like the fmt.Scanln() to wait until… 
- 
		1 votes1 answer88 viewsA: What’s wrong with this query?Try to do something like this: select sum(receitas_dia) - sum(despesas_dia) from ( select SUM(r.valor_receita) as receitas_dia, ( select SUM(d.valor_despesa) from despesas as d where… mysqlanswered Marcus Rocha 46