Hi,
I originally created this query to get a result from a single select statement
Its funny that it became a very long query having sets of joined table
Its also maybe annoying to look for it so im trying to trim it down
most of it have same joined tables only that it accepts different parameter or value
and some have some column condition (i,e.. either "1" value or "2" in a column)
I still post this hoping somebody could help me trim it down and not laugh at me :)
by the way, the problem of this long query obviously is it took lot of time to get the result
thanks in advance