What problem does it solve?
This skill helps users quickly discover and understand a relational database's structure so they can find which tables exist, what columns and data types they contain, identify primary and foreign keys, and map relationships for accurate query planning.
Core Features & Use Cases
- List Tables: Use a table-listing tool to enumerate all tables and provide concise descriptions of their purpose.
- Describe Table Schema: Show column names, data types, primary keys, foreign keys, and provide sample rows to illustrate typical values.
- Map Relationships: Identify join paths by tracing foreign keys and common "Id" suffix conventions to explain parent-child relationships and suggest JOIN chains for analytics (e.g., revenue by artist).
- Use Case: Explore the Chinook sample database to locate customer and sales data, understand schema details, and prepare SQL joins for reporting.
Quick Start
Use the schema-exploration skill to list all tables in the database and then describe the Customer table with its columns, keys, and sample rows.