How Metric Requests are Converted to SQL

How Metric Requests are Converted to SQL #