# SQL - Procedures - 9. Variables

**URL:** <https://forum.codewithmosh.com/t/sql-procedures-9-variables/10732>\
**Category:** SQL\
**Created:** [February 17, 2022, 5:51am UTC](https://forum.codewithmosh.com/t/sql-procedures-9-variables/10732 "2022-02-17T05:51:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stukaram](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@Stukaram](https://forum.codewithmosh.com/u/Stukaram)\
**Post date:** [February 17, 2022, 5:51am UTC](https://forum.codewithmosh.com/t/sql-procedures-9-variables/10732/1 "2022-02-17T05:51:11Z")

</div>

![IMG20220217111227](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/1/1caa618bea3157b9a19bed194fb2e675c17414db.jpeg)

SQL - Procedures - 9. Variables  
Calculating risk-\_factor.  
Could anyone help why I am getting this error  
Please find attached screen shot

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [February 17, 2022, 6:18am UTC](https://forum.codewithmosh.com/t/sql-procedures-9-variables/10732/2 "2022-02-17T06:18:47Z")

</div>

You declared a variable `invoice_total` but spelled it `invoic_total` in the `INTO` phrase.
