Use when the user asks a question in plain English that requires querying a known database. Triggers when the user provides a schema (DDL, ER diagram description, or table list) and asks "how many...", "what is the average...", "show me users who...", or any analytical question that maps to SQL.
Use when the user asks a question in plain English that requires querying a known database. Triggers when the user provides a schema (DDL, ER diagram description, or table list) and asks "how many...", "what is the average...", "show me users who...", or any analytical question that maps to SQL.