# In accurate data

**URL:** <https://forum.codewithmosh.com/t/in-accurate-data/2170>\
**Category:** SQL\
**Created:** [January 22, 2021, 12:52am UTC](https://forum.codewithmosh.com/t/in-accurate-data/2170 "2021-01-22T00:52:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfabbi](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pfabbi](https://forum.codewithmosh.com/u/pfabbi)\
**Post date:** [January 22, 2021, 6:55pm UTC](https://forum.codewithmosh.com/t/in-accurate-data/2170/3 "2021-01-22T18:55:27Z")

</div>

Hi @NicolasATC,

My invoice data is the exact same as yours, and the only thing that was different about my query is “(invoice\_total - payment\_total) AS what\_we\_expect” without the SUM function. I get the same results with or without it.

Is there anything else you suggest? If not, I guess I’ll continue this course as is, but it is gonna be a little frustrating getting different results.

---

_[View the full topic](https://forum.codewithmosh.com/t/in-accurate-data/2170)._
