Advanced AI-Assisted Coding for Developers
Thalia Barrera
AI Engineering Curriculum Manager, DataCamp

/usecase directorysqlite3.OperationalError: no such table: activity_events
🤖 Schema alignment prompt:
Align my database schema to the schema Atlas needs to run. Use the tables from the production database and the tables Atlas expects. Rename tables and columns safely and list the mapping between the original data and the new schema.



SQL query:

🤖 Performance optimization prompt:
Here is an SQL query I run frequently, along with the table schema. Identify the main performance bottlenecks and rewrite the query to be more efficient without changing the results.
🤖 Database design prompt:
Given this schema and workload (frequent reads of KPIs by date and city, and daily batch inserts), recommend normalization improvements, partitioning strategies, and scaling options.
Prioritize changes with the best impact-to-effort ratio.

Advanced AI-Assisted Coding for Developers