Syllabus

  1. 01Prompting for SQLLearn what AI chat assistants are good at in SQL work, how to give them the context they need, how to describe your tables, and how to steer a conversation toward a correct query.5 lessons
    1. 01What AI Assistants Can Do for SQL
    2. 02Give the Assistant Context
    3. 03Describe Your Tables Accurately
    4. 04Refine the Answer in a Conversation
    5. 05Prompts About Several Tables
  2. 02Verify, Explain and DebugUse assistants to explain and debug queries without taking their word for it: test explanations, decode error messages, catch invented columns and wrong SQL dialects, and check results with independent queries.4 lessons
    1. 01Ask for Explanations, Then Check Them
    2. 02Debug Error Messages
    3. 03Spot Hallucinations and Wrong Dialects
    4. 04Test the Numbers
  3. 03Use AI ResponsiblyProtect data and databases when working with assistants, think through ownership, bias and honesty, then audit a full set of AI-drafted report queries.4 lessons
    1. 01Privacy and Safety
    2. 02Ownership, Bias and Honesty
    3. 03Project: Audit an AI-Drafted Report
    4. 04Quiz: AI for SQL