Task: PostgreSQL unnest() with Element Number
Task: PostgreSQL unnest() with Element Number: a task in Terminal-Lego-15k (Harbor dataset). Write a PostgreSQL SQL query that unnests comma-separated values from a column while preserving the original position (ordinal number) of each element within its source string.
The task
Write a PostgreSQL SQL query that unnests comma-separated values from a column while preserving the original position (ordinal number) of each element within its source string.
Part of PrimeIntellect/Terminal-Lego-15k.