AI-Assisted Metric Definitions And SQL