Is there any recommended/established way to explain a working of SQL query?
We have quite a few complex queries in our project and we need to document it using UML or any other modelling language.
Please note, I am not asking about Data Modelling. It's more about documenting SQL logic i.e how tables are connected, how conditions are affecting the outcome, joins etc.
So, finally:
- What are the recommended ways?
- Any example?