CommencerCommencez gratuitement

Explore the Database Schema

The Chinook music database is connected via MCP. The database file is chinook.db in the music-analytics-api-with-db/ folder — the same Music Analytics API you've been building, now with the database included.

The MCP server has already been configured for you. For future reference on how to connect Claude Code to a SQLite database, see the MCP setup guide.

Before querying data, let's explore what's available. Ask Claude to list the tables and describe their structure.

Cet exercice fait partie du cours

<cours>Software Development with Claude Code</cours>
Voir le cours

Instructions de l’exercice

  • Start Claude Code with claude.
  • Ask Claude to list all tables in the database.
  • Ask Claude to describe the schema of one table (e.g., the Album table).
  • When done, type /exit to exit Claude Code.

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice