I have following 3 tables
Contract(Id, Name)
Contract_Stage(Id, Contract_Id, stage_name, status, date)
Stage_Order(stage_name, order)
Each contract can have upto 5 different stages. The Stage_Order table is there to specify the chronological order of stages.
Currently I'm grouping by the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.