I am using Microstrategy, and I am aware of the Freeform SQL Report functionality. However, I'd like to change how Microstrategy generates its SQL.
Since I'm using Infobright, I'd like to use sub-selects instead of full joins, etc. Example:
Query generated by Microstrategy: select b.colb, min(b.cold), sum(a.colb) from tablea a join tableb b on a.id = b.id group by b.colb
I'd like it to generate the following way: select b.colb, min(b.cold), sum(a.colb) from (select id, sum(cold) from tablea a group by colb) join tableb b on a.id = b.id group by b.colb
Is it possible to modify the generator to take this type of approach as opposed to the current approach? Or, must I use the freeform generator?