# Reference other subqueries in SELECT clause

**URL:** <https://forum.codewithmosh.com/t/reference-other-subqueries-in-select-clause/9014>\
**Category:** SQL\
**Created:** [December 5, 2021, 12:14pm UTC](https://forum.codewithmosh.com/t/reference-other-subqueries-in-select-clause/9014 "2021-12-05T12:14:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Megacodexz](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Megacodexz](https://forum.codewithmosh.com/u/Megacodexz)\
**Post date:** [December 5, 2021, 12:14pm UTC](https://forum.codewithmosh.com/t/reference-other-subqueries-in-select-clause/9014/1 "2021-12-05T12:14:22Z")

</div>

![Screenshot from 2021-12-05 19-01-39](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/0437408186fccf875c693b7417e4aab7b0ea9d35.png)

In the video “9- Subqueries in the SELECT Clause”, why is SELECT needed here to make it works? Why does `invoice_total - invoice_average` not work? Also, why could we use SELECT here without FROM?
