HF RL Explorer

Task: List Columns with Indexes in PostgreSQL

Task: List Columns with Indexes in PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Write a SQL query that lists all indexes on a PostgreSQL table along with the column names each index covers. This is the PostgreSQL equivalent of MySQL's SHOW INDEXES FOR table command.

The task

Write a SQL query that lists all indexes on a PostgreSQL table along with the column names each index covers. This is the PostgreSQL equivalent of MySQL's `SHOW INDEXES FOR table` command.

Part of PrimeIntellect/Terminal-Lego-15k.