Task: Padding Zeros to the Left in PostgreSQL
Task: Padding Zeros to the Left in PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Create a PostgreSQL solution that pads numbers with leading zeros to ensure a fixed width of 3 digits. For example: - 1 becomes 001 - 58 becomes 058 - 123 remains 123
The task
Create a PostgreSQL solution that pads numbers with leading zeros to ensure a fixed width of 3 digits. For example: - `1` becomes `001` - `58` becomes `058` - `123` remains `123`
Part of PrimeIntellect/Terminal-Lego-15k.