# SQL definitions and owner in AML

**URL:** <https://community.holistics.io/t/sql-definitions-and-owner-in-aml/629>\
**Category:** Feature Suggestions\
**Created:** [December 28, 2021, 8:48pm UTC](https://community.holistics.io/t/sql-definitions-and-owner-in-aml/629 "2021-12-28T20:48:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_H](https://community.holistics.io/user_avatar/community.holistics.io/alex_h/32/357_2.png) [@Alex\_H](https://community.holistics.io/u/Alex_H)\
**Post date:** [December 28, 2021, 8:48pm UTC](https://community.holistics.io/t/sql-definitions-and-owner-in-aml/629/1 "2021-12-28T20:48:45Z")

</div>

By default, AML created automatically from query places the query parameter and owner below the defined dimensions and measures - I personally find this counter intuitive, given the other model parameters are placed above them. Any reason why?

---

<div class="post-metadata">

**Author:** ![Khai\_To](https://community.holistics.io/user_avatar/community.holistics.io/khai_to/32/128_2.png) [@Khai\_To](https://community.holistics.io/u/Khai_To)\
**Post date:** [December 30, 2021, 4:43am UTC](https://community.holistics.io/t/sql-definitions-and-owner-in-aml/629/2 "2021-12-30T04:43:05Z")

</div>

Hi Alex,

Actually, we consider it as a need-improvement from our side, there’s no particular reason for it.  
In fact, the position of the code component should be followed the structure in the UI mode.  
For now, it will not affect your end results, but this is definitely something that we will improve in the future. Thank you so much for your question.
