Added MySQL Statements Having, Group By, Order By,

Change-Id: If9f06ddddcd67ca98a7e9001d39f5c952df6d5a2
Signed-off-by: Marcelo <Marcelo@172.16.0.212>