Display generated report SQL in the UI

Change-Id: I327578dc778096086b5692a0d048ccd1271cf097
Merge "Display generated report SQL in the UI"