How to extract template down to item with SLA using query

How to extract template down to item with SLA using query

I want to extract data on the existing template til item with SLA

                  New to ADSelfService Plus?