Quiz 10 Question 9 of 20

An architect is designing a system prompt for a Claude instance that must generate SQL queries from natural language. The model occasionally generates queries using table names from its training knowledge rather than the actual database schema. What is the most reliable technique to ground Claude's SQL generation in the actual schema?

Select an answer to reveal the explanation.

Motivation