Min and max latency per service

Min and max latency per service

From logs(service, latency_ms) find the smallest and largest latency for each service. Return columns service, min_latency (min latency_ms) and max_latency (max latency_ms). Order by service ascending.

Expected output sample

servicemin_latencymax_latency
api12340
web815
worker501200
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid